diff --git a/changelog.md b/changelog.md index 8d0ea3c..b8296c8 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/lib/ha_handler/web/templates/index.html.eex b/lib/ha_handler/web/templates/index.html.eex index a65766d..4d2bbf4 100644 --- a/lib/ha_handler/web/templates/index.html.eex +++ b/lib/ha_handler/web/templates/index.html.eex @@ -57,7 +57,6 @@ - @@ -66,7 +65,6 @@ <%= for entry <- Map.get(haproxy_stats, "Backend") do %> - @@ -79,7 +77,6 @@
# Name Status algo
<%= entry["iid"] %> <%= entry["pxname"] %> <%= entry["status"] %> <%= entry["algo"] %>
- @@ -89,8 +86,7 @@ <%= for entry <- Map.get(haproxy_stats, "Server") do %> - - +
# Name Status Mode
<%= entry["iid"] %><%= entry["pxname"] %><%= entry["pxname"] %>/<%= entry["svname"] %> <%= entry["status"] %> <%= entry["mode"] %> <%= entry["addr"] %>