]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: contrib/prometheus-exporter: Don't needlessly set empty label for metrics
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 Jan 2021 14:28:22 +0000 (15:28 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 17:59:30 +0000 (18:59 +0100)
commit0175b1f0b7bd01ee62e56e825028935d062e49d6
treee5d5c5cf02bba8069613aae3c70a84f9460e3309
parentb9577450ea80238128913c2f5dad0cfeb22f5616
MINOR: contrib/prometheus-exporter: Don't needlessly set empty label for metrics

There is no reason to define empty labels for metrics. By default, all labels
are initialized to an empty ist.
contrib/prometheus-exporter/service-prometheus.c