aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-23 23:26:45 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-23 23:26:45 +0000
commite4d0183e002dffd4add08ca4fbb0b9dae91367ae (patch)
treebffa0350d026eed2a4eb1242e2d4bfb48ba61ce3
parent5bcf65dcff75a01a90b688626d97735372b594e2 (diff)
downloadprometheus-haproxy-log-exporter-e4d0183e002dffd4add08ca4fbb0b9dae91367ae.tar
prometheus-haproxy-log-exporter-e4d0183e002dffd4add08ca4fbb0b9dae91367ae.tar.gz
Actually use the buckets specified
-rw-r--r--prometheus_haproxy_log_exporter/metrics.py2
1 files changed, 2 insertions, 0 deletions
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: