From 963823ead441a8ff42cdc1be0113f9803c73feda Mon Sep 17 00:00:00 2001 From: Loc Mai Date: Wed, 20 Oct 2021 15:32:04 +0700 Subject: [PATCH] Update collector/indices.go Co-authored-by: Ben Kochie Signed-off-by: Loc Mai --- collector/indices.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/indices.go b/collector/indices.go index b4e990af..1c387cc9 100644 --- a/collector/indices.go +++ b/collector/indices.go @@ -492,9 +492,9 @@ func NewIndices(logger log.Logger, client *http.Client, url *url.URL, shards boo Labels: indexLabels, }, { - Type: prometheus.CounterValue, + Type: prometheus.GaugeValue, Desc: prometheus.NewDesc( - prometheus.BuildFQName(namespace, "index_stats", "search_query_current"), + prometheus.BuildFQName(namespace, "search", "active_queries"), "The number of currently active queries", indexLabels.keys(), nil, ),