MINOR: contrib/prometheus-exporter: report the number of idle conns per server
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Nov 2019 14:24:32 +0000 (15:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2019 13:24:06 +0000 (14:24 +0100)
commit20ab80c0c07946e893136bc024bf8151121da573
tree82c90701b52f397ff6be8664ff2222a608751b9a
parent68b6968ecd4e265526cbef28bdd8ba7c941ce7bf
MINOR: contrib/prometheus-exporter: report the number of idle conns per server

This adds two extra metrics per server, one for the current number of idle
connections and one for the configured limit :

 * haproxy_server_idle_connections_current
 * haproxy_server_idle_connections_limit
contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c