]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: contrib/prometheus-exporter: Add heathcheck status/code in server metrics
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Nov 2019 13:35:46 +0000 (14:35 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commitcf403f32e4bd5217064f8831930b45c5fb37131b
treecda58dc715ce64f44e05cbe12fcf81a81c43fb2c
parent46230363af6cb9332580ce9a8594251f1aa365b5
MINOR: contrib/prometheus-exporter: Add heathcheck status/code in server metrics

ST_F_CHECK_STATUS and ST_F_CHECK_CODE are now part of exported server metrics:

  * haproxy_server_check_status
  * haproxy_server_check_code

The heathcheck status is an integer corresponding to HCHK_STATUS value.
contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c