Skip to content

Commit

Permalink
Update collector/indices.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: Loc Mai <[email protected]>
  • Loading branch information
2 people authored and axonlmai committed Oct 20, 2021
1 parent 072b50d commit 963823e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collector/indices.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit 963823e

Please sign in to comment.