]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: rename proxy stats
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 19 Apr 2024 16:03:45 +0000 (18:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 22 Apr 2024 14:25:18 +0000 (16:25 +0200)
commit8fc0b1808777c9b19d8c6566c57325bdb535116e
tree2ab03384f460b86e8526b4c05d215745ef90047d
parent378d500caffcc2a62d166df06b0bdac7cd395545
MINOR: stats: rename proxy stats

This commit is the first one of a serie which adjust naming convention
for stats module. The objective is to remove ambiguity and better
reflect how stats are implemented, especially since the introduction of
stats module.

This patch renames elements related to proxies statistics. One of the
main change is to rename ST_F_* statistics indexes prefix with the new
name ST_I_PX_*. This remove the reference to field which represents
another concept in the stats module. In the same vein, global
stat_fields variable is renamed metrics_px.
addons/promex/service-prometheus.c
include/haproxy/stats-t.h
include/haproxy/stats.h
reg-tests/webstats/missing-stats-fields.vtc
src/hlua_fcn.c
src/stats-html.c
src/stats-json.c
src/stats.c