commit | 2711e51016cfc408deb03e66f46bea0fa5bf954c | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Feb 27 16:12:07 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Feb 28 10:49:09 2020 +0100 |
tree | b65d83597c3f17f54f822e66936a3bdc2932f1d6 | |
parent | 81725b867c20a688c3877421383bfe1ba9348a09 [diff] |
MINOR: contrib/prometheus-exporter: Add the last heathcheck duration metric ST_F_CHECK_DURATION is now part of exported server metrics, named haproxy_server_check_duration_seconds and expressed in seconds. For a given server, this value is exported only if the healthcheck is finished (the status is greater or equal to HCHK_STATUS_CHECKED). This patch fixes the issue #519. It may be backported as fat as 2.0.