aboutsummaryrefslogtreecommitdiff
path: root/prometheus_haproxy_log_exporter
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus_haproxy_log_exporter')
-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: