]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stats: fix capabilities and hide settings for some generic metrics
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Mar 2025 10:09:00 +0000 (11:09 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Mar 2025 10:49:18 +0000 (11:49 +0100)
commit8311be5ac60c10fc4af56e3df79031358236bc14
treeadab3ee58c3e1923535065c2ce8eb6eee0ec156a
parent4c3eb60e7019d12734501ceb9358d2714bce8922
BUG/MINOR: stats: fix capabilities and hide settings for some generic metrics

Performing a diff on stats output before vs after commit 66152526
("MEDIUM: stats: convert counters to new column definition") revealed
that some metrics were not properly ported to to the new API. Namely,
"lbtot", "cli_abrt" and "srv_abrt" are now exposed on frontend and
listeners while it was not the case before.

Also, "hrsp_other" is exposed even when "mode http" wasn't set on the
proxy.

In this patch we restore original behavior by fixing the capabilities
and hide settings.

As this could be considered as a minor regression (looking at the commit
message it doesn't seem intended), better tag this as a bug. It should be
backported in 3.0 with 66152526.
src/stats-proxy.c