commit | b713c4f2951b52681e89208884b723d0434cd81d | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Jan 20 15:02:50 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Jan 21 18:59:30 2021 +0100 |
tree | e7f772c2d599f5b1d5a543458a5751e59f709b8c | |
parent | 0175b1f0b7bd01ee62e56e825028935d062e49d6 [diff] |
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.