]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: contrib/prometheus-exporter: Report DRAIN/MAINT/NOLB status for servers
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Sep 2019 14:10:19 +0000 (16:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Sep 2019 14:15:07 +0000 (16:15 +0200)
commitd45d10542875e3271e6eebe941a86021af43c0c9
treebf10f2b2d4b6f99a0c9b4c8589e3146678fc7fbb
parentc886e5911b459cef278423302114761f3e8b284d
MINOR: contrib/prometheus-exporter: Report DRAIN/MAINT/NOLB status for servers

Now, following status are reported for servers:0=DOWN, 1=UP, 2=MAINT, 3=DRAIN,
4=NOLB.

It is linked to the github issue #255. Thanks to MickaĆ«l Martin. If needed, this
patch may be backported to 2.0.
contrib/prometheus-exporter/service-prometheus.c