]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: promex: expose ST_I_PX_RATE (current_session_rate)
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 28 Apr 2025 10:19:36 +0000 (12:19 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 28 Apr 2025 10:23:20 +0000 (12:23 +0200)
commitdc95a3ed61a6a63e8d93da9adf00ecccd401015b
treef4559af9dafdcc1c4c27ad28279c1af36fc8f2af
parente9213628109dfa6a2b6cffd9e7d38ffa36fafcc6
MINOR: promex: expose ST_I_PX_RATE (current_session_rate)

It has been requested to have the current_session_rate exposed at the
frontend level. For now only the per-process value was exposed
(ST_I_INF_SESS_RATE).

Thanks to the work done lately to merge promex and stat_cols_px[]
array, let's simply defined an .alt_name for the ST_I_PX_RATE metric in
order to have promex exposing it as current_session_rate for relevant
contexts.
src/stats-proxy.c