mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
fix: used wrong label for query received_nq metrics (#37987)
issue: #37982 Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
parent
445b93790e
commit
dd81a13821
@ -3738,7 +3738,7 @@ func (node *Proxy) Query(ctx context.Context, request *milvuspb.QueryRequest) (*
|
|||||||
SetCollectionName(request.GetCollectionName())
|
SetCollectionName(request.GetCollectionName())
|
||||||
metrics.ProxyReceivedNQ.WithLabelValues(
|
metrics.ProxyReceivedNQ.WithLabelValues(
|
||||||
strconv.FormatInt(paramtable.GetNodeID(), 10),
|
strconv.FormatInt(paramtable.GetNodeID(), 10),
|
||||||
metrics.SearchLabel,
|
metrics.QueryLabel,
|
||||||
request.GetCollectionName(),
|
request.GetCollectionName(),
|
||||||
).Add(float64(1))
|
).Add(float64(1))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user