commit | 0312c0d1922103c89905025236c70a4f147f3b01 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Jan 20 15:19:12 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Jan 21 18:59:30 2021 +0100 |
tree | bf453ab94d7da7a1f59504657827917bcbf4b296 | |
parent | b713c4f2951b52681e89208884b723d0434cd81d [diff] |
MINOR: contrib/prometheus-exporter: Add promex_metric struct defining a metric This structure will be used to define a Prometheus metric, i.e its name, its type (gauge or counter) and its flags. The flags will be used to know for which entities the metric is defined (global, frontend, backend and/or server).