]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: contrib/prometheus-exporter: Split the PROMEX_FL_STATS_METRIC flag
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 Jan 2021 14:02:50 +0000 (15:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 17:59:30 +0000 (18:59 +0100)
commitb713c4f2951b52681e89208884b723d0434cd81d
treee7f772c2d599f5b1d5a543458a5751e59f709b8c
parent0175b1f0b7bd01ee62e56e825028935d062e49d6
MINOR: contrib/prometheus-exporter: Split the PROMEX_FL_STATS_METRIC flag

PROMEX_FL_STATS_METRIC flag is splitted in 3 flags to easily identify the
processed entity type (frontend, backend or server). Thus, now we are using
PROMEX_FL_FRONT_METRIC, PROMEX_FL_BACK_METRIC or PROMEX_FL_SRV_METRIC. These
flags will be used to know if a metric is defined and must be exported for a
given entity type.
contrib/prometheus-exporter/service-prometheus.c