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: milvus-io#37982
pr:    milvus-io#37987

Signed-off-by: Reid Chan <[email protected]>
  • Loading branch information
Reidddddd committed Dec 6, 2024
1 parent 18bef5e commit e25ecea
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 @@ -3648,7 +3648,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 e25ecea

Please sign in to comment.