]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: promex: Add a param to override the description when a metric is dumped
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Jan 2024 15:37:35 +0000 (16:37 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Feb 2024 11:00:53 +0000 (12:00 +0100)
commit2ea9a8892810bf9f24cabbc934db57a590df0084
treeb7b79401612228921694a522be45cb40cec1243a
parent3246f863d6016f17a47c38f8079856a160639382
MINOR: promex: Add a param to override the description when a metric is dumped

When a metric is dumped, it is now possible to specify a custom
description. We will add the support for extra counters. The list of these
counters is retrived dynamically. Thus the description must be dynamic
too. Note it was already possible to customize the metric name.
addons/promex/service-prometheus.c