Skip to content

Commit

Permalink
fix: used wrong label for query received_nq metrics
Browse files Browse the repository at this point in the history
issue: #37982

Signed-off-by: Reid Chan <[email protected]>
  • Loading branch information
Reidddddd committed Nov 25, 2024
1 parent e76802f commit 2cc7427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxy/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3652,7 +3652,7 @@ func (node *Proxy) Query(ctx context.Context, request *milvuspb.QueryRequest) (*
SetCollectionName(request.GetCollectionName())
metrics.ProxyReceivedNQ.WithLabelValues(
strconv.FormatInt(paramtable.GetNodeID(), 10),
metrics.SearchLabel,
metrics.QueryLabel,
request.GetCollectionName(),
).Add(float64(1))

Expand Down

0 comments on commit 2cc7427

Please sign in to comment.