MINOR: contrib/prometheus-exporter: Add a param to ignore servers in maintenance
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Nov 2019 13:18:24 +0000 (14:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 Nov 2019 13:11:47 +0000 (14:11 +0100)
commiteba2294e5b82931fd2e74f829e8092366728a6af
treea2a9f0991eb7e696053ff8a0e0b38de6b9b6edd1
parent78407ce156b9dd317ae9f4becccd4afa3d5f8c56
MINOR: contrib/prometheus-exporter: Add a param to ignore servers in maintenance

By passing the parameter "no-maint" in the query-string, it is now possible to
ignore servers in maintenance. It means that the metrics for servers in this
state will not be exported.
contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c