]> git.kaiwu.me - haproxy.git/commit
MINOR: contrib/prometheus-exporter: Rename some metrics to be more usable
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Apr 2019 08:15:15 +0000 (10:15 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Apr 2019 08:27:16 +0000 (10:27 +0200)
commit8c8e4b1263d0edc5fc2435150377bdfa50c00f9c
tree145426de85c9e6a576b8a309a73a5a1388ff1283
parentc58fc0dec935ac9888814269e188fb7a0b1a7434
MINOR: contrib/prometheus-exporter: Rename some metrics to be more usable

Some metrics have been renamed and their type adapted to be more usable in
Prometheus:

  * haproxy_process_uptime_seconds -> haproxy_process_start_time_seconds
  * haproxy_process_max_memory -> haproxy_process_max_memory_bytes
  * haproxy_process_pool_allocated_total -> haproxy_process_pool_allocated_bytes
  * haproxy_process_pool_used_total -> haproxy_process_pool_used_bytes
  * haproxy_process_ssl_cache_lookups -> haproxy_process_ssl_cache_lookups_total
  * haproxy_process_ssl_cache_misses -> haproxy_process_ssl_cache_misses_total

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