]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: promex: Always limit the number of labels dumped for each metric
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Jan 2024 16:19:28 +0000 (17:19 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Feb 2024 11:00:54 +0000 (12:00 +0100)
commit5a48a94dcc6debe94cf9955c5a5c6652b3bd7411
treee4d2d8eaaf2e20249fd230825514a870e5e73758
parent7ad9266ad81c54bd26bafbd0ea8d80ee9cb15d75
MINOR: promex: Always limit the number of labels dumped for each metric

It was not an issue since now, be a way to register modules on promex will
be added. Thus it is important to add some extra checks. Here, we take care
to never dump more than the max labels allowed.
addons/promex/service-prometheus.c