]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: promex: Remove Help prefix repeated twice for each metric
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 1 Jul 2024 08:33:03 +0000 (10:33 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 1 Jul 2024 08:50:27 +0000 (10:50 +0200)
commitb789cef91f5ac6123b130f5474b44fb7c57106ae
tree98c538784f121dd737e99afb8863f7c57914b53c
parent192abc6f834dcd09f310299afe253b17f9985407
BUG/MINOR: promex: Remove Help prefix repeated twice for each metric

When the support for modules was added, the function producing the #HELP
line of each metric was refactored. Since then, the prefix "#HELP
<metric-name>" is printed twice because a code block was not removed. It is
now fixed.

This patch must be backported to 3.0.
addons/promex/service-prometheus.c