diff options
author | Christopher Baines <mail@cbaines.net> | 2016-02-23 23:36:01 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2016-02-23 23:36:01 +0000 |
commit | cb8a33120fae5fea6d0af94e382c8c3aada9a094 (patch) | |
tree | 7e1366460dafc2ea0f3409591fdf135c64564689 | |
parent | e4d0183e002dffd4add08ca4fbb0b9dae91367ae (diff) | |
download | prometheus-haproxy-log-exporter-cb8a33120fae5fea6d0af94e382c8c3aada9a094.tar prometheus-haproxy-log-exporter-cb8a33120fae5fea6d0af94e382c8c3aada9a094.tar.gz |
Include 0 in the queue length buckets
-rw-r--r-- | prometheus_haproxy_log_exporter/metrics.py | 2 |
1 files changed, 1 insertions, 1 deletions
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')), )) |