From a2a12870b75c107659f18e45c51ec0d76ec92395 Mon Sep 17 00:00:00 2001 From: Don Wimodya Athukorala Date: Mon, 25 Jan 2021 13:23:30 +0800 Subject: [PATCH] added 5s, 15s and 45s buckets to the time spent in queue histogram for increased granuality --- src/clj/celery_prometheus_exporter/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/celery_prometheus_exporter/core.clj b/src/clj/celery_prometheus_exporter/core.clj index c0fc03f..bcb39fe 100644 --- a/src/clj/celery_prometheus_exporter/core.clj +++ b/src/clj/celery_prometheus_exporter/core.clj @@ -47,7 +47,7 @@ (prometheus/histogram :celery/time-spent-in-queue-millis {:description "Time from when a task is published and received by a worker per queue (seconds)" :labels [:instance :queue :name] - :buckets [1000.0 30000.0 60000.0 180000.0 300000.0 600000.0 1800000.0 3600000.0 7200000.0 1.08E7 1.8E7 3.6E7]})) + :buckets [1000.0 5000.0 15000.0 30000.0 45000.0 60000.0 180000.0 300000.0 600000.0 1800000.0 3600000.0 7200000.0 1.08E7 1.8E7 3.6E7]})) (defn new-registry []