From 3228814456784f1461637adffc4d75b8eca04a9a Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Sun, 15 Jul 2018 12:24:37 +0100 Subject: [PATCH] Don't forget to register query_duration_seconds{slice="queue_time"} (#4381) Signed-off-by: Tom Wilkie --- promql/engine.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/promql/engine.go b/promql/engine.go index 20f2faf22..5bd3b7e17 100644 --- a/promql/engine.go +++ b/promql/engine.go @@ -224,8 +224,9 @@ func NewEngine(logger log.Logger, reg prometheus.Registerer, maxConcurrent int, reg.MustRegister( metrics.currentQueries, metrics.maxConcurrentQueries, - metrics.queryInnerEval, + metrics.queryQueueTime, metrics.queryPrepareTime, + metrics.queryInnerEval, metrics.queryResultSort, ) }