]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: contrib/prometheus-exporter: Report metrics about max times for sessions
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Nov 2019 14:05:31 +0000 (15:05 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2019 13:24:01 +0000 (14:24 +0100)
commit8fc027d4685afc9f3a1bea77162ff91b94407932
tree008ea02ecd57a00025784ef2e1d03da0519193b9
parent0d1c2a65e8370a770d0160074f0d505a6014250e
MINOR: contrib/prometheus-exporter: Report metrics about max times for sessions

Now, for the sessions, the maximum times (queue, connect, response, total) are
reported in addition of the averages over the last 1024 connections. These
metrics are reported per backend and per server. Here are the metrics name :

  * haproxy_backend_max_queue_time_seconds
  * haproxy_backend_max_connect_time_seconds
  * haproxy_backend_max_response_time_seconds
  * haproxy_backend_max_total_time_seconds

and

  * haproxy_server_max_queue_time_seconds
  * haproxy_server_max_connect_time_seconds
  * haproxy_server_max_response_time_seconds
  * haproxy_server_max_total_time_seconds

This patch is related to #272.
contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c