web: display friendly names instead of IDs of HAProxy servers and backends
This commit is contained in:
parent
a68e896291
commit
d1d31ca883
2 changed files with 3 additions and 5 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* haproxy: fix invalid deduplication / merging of stat entries.
|
||||
* pgsql: refactoring, wire mode of operation (primary, secondary).
|
||||
* control: route PGSQL traffic to primary server(s).
|
||||
* web: display friendly names instead of IDs of HAProxy servers and backends.
|
||||
|
||||
# 2022-02-19 - v0.1.1
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>algo</th>
|
||||
|
@ -66,7 +65,6 @@
|
|||
<tbody>
|
||||
<%= for entry <- Map.get(haproxy_stats, "Backend") do %>
|
||||
<tr>
|
||||
<td><%= entry["iid"] %></td>
|
||||
<td><%= entry["pxname"] %></td>
|
||||
<td><%= entry["status"] %></td>
|
||||
<td><%= entry["algo"] %></td>
|
||||
|
@ -79,7 +77,6 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
<th>Mode</th>
|
||||
|
@ -89,8 +86,7 @@
|
|||
<tbody>
|
||||
<%= for entry <- Map.get(haproxy_stats, "Server") do %>
|
||||
<tr>
|
||||
<td><%= entry["iid"] %></td>
|
||||
<td><%= entry["pxname"] %></td>
|
||||
<td><%= entry["pxname"] %>/<%= entry["svname"] %></td>
|
||||
<td><%= entry["status"] %></td>
|
||||
<td><%= entry["mode"] %></td>
|
||||
<td><%= entry["addr"] %></td>
|
||||
|
|
Loading…
Reference in a new issue