]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: update ambiguous "metrics" naming to "stat_cols"
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 23 Apr 2024 09:06:00 +0000 (11:06 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 26 Apr 2024 08:20:57 +0000 (10:20 +0200)
commit861370a6d42bc98596d08311b8308abcca1da4bc
treef5fe5202652dd9da3307036ef1cf3c3590f8ae83
parent4b1a7ea66c7499d44eec9cc061e848e44bd73dd0
MINOR: stats: update ambiguous "metrics" naming to "stat_cols"

The name "metrics" was chosen to represent the various list of haproxy
exposed statistics. However, it is deemed as ambiguous as some stats are
indeed metric in the true sense, but some are not, as highlighted by
various "enum field_origin" values.

Replace it by the new name "stat_cols" for statistic columns. Along with
the already existing notion of stat lines it should better reflect its
purpose.
addons/promex/service-prometheus.c
include/haproxy/stats.h
src/hlua_fcn.c
src/stats-json.c
src/stats.c