]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: contrib/prometheus-exporter: Rework matrices defining Promex metrics
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 Jan 2021 14:20:53 +0000 (15:20 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 18:09:53 +0000 (19:09 +0100)
commit37286a5ac595069a491c3e8a7a7e4faf3d9ea8ad
tree333160dd2d6c6414c0a7aa49530073735043664c
parent0312c0d1922103c89905025236c70a4f147f3b01
MEDIUM: contrib/prometheus-exporter: Rework matrices defining Promex metrics

The global and stats matrices are replaced by a simpler ones. Now we have
only 2 arrays of prometheus metrics. Their flags are used to match on the
entity type. This simplify a bit the metrics definition. For now, labels and
descriptions are still outside of these arrays, because the labels must be
reworked to be more dynamic and the descrptions must be replaced by stats
ones as far as possible.
contrib/prometheus-exporter/service-prometheus.c