From e4d0183e002dffd4add08ca4fbb0b9dae91367ae Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 23 Feb 2016 23:26:45 +0000 Subject: Actually use the buckets specified --- prometheus_haproxy_log_exporter/metrics.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prometheus_haproxy_log_exporter/metrics.py b/prometheus_haproxy_log_exporter/metrics.py index 1ee8c11..f4d1bb2 100644 --- a/prometheus_haproxy_log_exporter/metrics.py +++ b/prometheus_haproxy_log_exporter/metrics.py @@ -206,6 +206,7 @@ def backend_queue_length(labelnames, buckets): "Requests processed before this one in the backend queue", namespace=NAMESPACE, labelnames=tuple(labelnames), + buckets=buckets, ) if len(labelnames) == 0: @@ -227,6 +228,7 @@ def server_queue_length(labelnames, buckets): "Length of the server queue when the request was received", namespace=NAMESPACE, labelnames=tuple(labelnames), + buckets=buckets, ) if len(labelnames) == 0: -- cgit v1.2.3