aboutsummaryrefslogtreecommitdiff
path: root/prometheus_haproxy_log_exporter
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-23 23:36:01 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-23 23:36:01 +0000
commitcb8a33120fae5fea6d0af94e382c8c3aada9a094 (patch)
tree7e1366460dafc2ea0f3409591fdf135c64564689 /prometheus_haproxy_log_exporter
parente4d0183e002dffd4add08ca4fbb0b9dae91367ae (diff)
downloadprometheus-haproxy-log-exporter-cb8a33120fae5fea6d0af94e382c8c3aada9a094.tar
prometheus-haproxy-log-exporter-cb8a33120fae5fea6d0af94e382c8c3aada9a094.tar.gz
Include 0 in the queue length buckets
Diffstat (limited to 'prometheus_haproxy_log_exporter')
-rw-r--r--prometheus_haproxy_log_exporter/metrics.py2
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')),
))