From cb8a33120fae5fea6d0af94e382c8c3aada9a094 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 23 Feb 2016 23:36:01 +0000 Subject: Include 0 in the queue length buckets --- prometheus_haproxy_log_exporter/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus_haproxy_log_exporter/metrics.py b/prometheus_haproxy_log_exporter/metrics.py index f4d1bb2..611260e 100644 --- a/prometheus_haproxy_log_exporter/metrics.py +++ b/prometheus_haproxy_log_exporter/metrics.py @@ -85,7 +85,7 @@ DEFAULT_TIMER_BUCKETS = ( DEFAULT_QUEUE_LENGTH_BUCKETS = tuple(itertools.chain( - range(1, 10), + range(0, 10), (20, 30, 40, 60, 100, float('inf')), )) -- cgit v1.2.3