]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: add server revision id support
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 17 Nov 2022 15:34:07 +0000 (16:34 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 6 Dec 2022 09:22:06 +0000 (10:22 +0100)
commit745ce8e8ad8150569f368ab4663adda77a43c857
tree90667b1bec79f54dc62ab3db69bc47ae56f1520f
parent61e3894dfeba54bc4d6a2ae3c0dd708850e8320e
MINOR: stats: add server revision id support

Make use of the new srv->rid value in stats.

Stat is referred as ST_F_SRID, it is now used in stats_fill_sv_stats
function in order to be included in csv and json stats dumps.

Moreover, "rid: $value" will be displayed next to server puid
in html stats page if "stats show-legend" is specified in the stats frontend.
(mouse hovering tooltip)

Depends on the following commit:
"MINOR: server: add srv->rid (revision id) value"
include/haproxy/stats-t.h
src/stats.c