]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: explicitly add frontend cap for ST_I_PX_REQ_TOT
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Mar 2025 15:40:25 +0000 (16:40 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 20 Mar 2025 10:42:43 +0000 (11:42 +0100)
commit2ab82124ec2390163770cd4de97dbffa54a18b83
tree07e5e70bb634421f2abd24cd1882a69307f236a7
parenta5aadbd5127e62354ccee58c120deb8e894133b3
MINOR: stats: explicitly add frontend cap for ST_I_PX_REQ_TOT

While being a generic metric, ST_I_PX_REQ_TOT is handled specifically for
the frontend case. But the frontend capability isn't set for that metric
It is actually quite misleading, because the capability may be checked
to see whether the metric is relevant for a given scope, yet it is
relevant for frontend scope.

In this patch we also add the frontend capability for the metric.
src/stats-proxy.c