Skip to content

Commit

Permalink
fix: fix metric about ProxySearchVectors (#32152)
Browse files Browse the repository at this point in the history
issue :#25639

Signed-off-by: zhenshan.cao <[email protected]>
  • Loading branch information
czs007 authored Apr 11, 2024
1 parent 2c63f84 commit 0bfe130
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 @@ -3067,7 +3067,7 @@ func (node *Proxy) hybridSearch(ctx context.Context, request *milvuspb.HybridSea

metrics.ProxySearchVectors.
WithLabelValues(nodeID, dbName, collectionName).
Add(float64(len(request.GetRequests())))
Add(float64(len(request.GetRequests()) * int(qt.SearchRequest.GetNq())))

searchDur := tr.ElapseSpan().Milliseconds()
metrics.ProxySQLatency.WithLabelValues(
Expand Down

0 comments on commit 0bfe130

Please sign in to comment.