]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: contrib/prometheus-exporter: Remove usless rate metrics
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Apr 2019 08:10:49 +0000 (10:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Apr 2019 08:27:16 +0000 (10:27 +0200)
commitc58fc0dec935ac9888814269e188fb7a0b1a7434
tree744207f8563ffc431a8470b08dcb3a05473c97b1
parentf782c23ec6d6fc0de9832f4c0b7af6a0079a93d2
MINOR: contrib/prometheus-exporter: Remove usless rate metrics

Following metrics have been removed:

  * haproxy_frontend_connections_rate_current (ST_F_CONN_RATE)
  * haproxy_frontend_http_requests_rate_current (ST_F_REQ_RATE)
  * haproxy_*_current_session_rate (ST_F_RATE)

These rates can be deduced using the total value with this kind of formula:

  rate(haproxy_frontend_connections_total[1m])

No backport needed. See issue #81 on github.
contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c