[PATCH 1/2] [PATCH] BUG/MINOR: promex: rename haproxy_backend_agg_server_check_status

2022-11-27 Thread Cedric Paillet
haproxy_backend_agg_server_check_status currently aggregates haproxy_server_status instead of haproxy_server_check_status. Rename the metric to haproxy_backend_agg_server_status to clarify what it really does. --- addons/promex/service-prometheus.c | 4 ++-- include/haproxy/stats-t.h | 2

[PATCH 2/2] [PATCH] MINOR: promex: reintroduce haproxy_backend_agg_server_check_status

2022-11-27 Thread Cedric Paillet
This patch reintroduces haproxy_backend_agg_server_check_status metric as in 42d7c402d but with the right data source. --- addons/promex/service-prometheus.c | 26 ++ include/haproxy/stats-t.h | 1 + src/stats.c| 4 3 files changed,

[PATCH 0/2] BUG/MINOR: promex: fix haproxy_backend_agg_server_check_status

2022-11-27 Thread Cedric Paillet
As described in github issue #1312, the first intention of patch 42d7c402d was to aggregate haproxy_server_check_status. But we aggregated haproxy_server_status instead. To fix that, rename haproxy_backend_agg_server_check_status to haproxy_backend_agg_server_status and use right data source for