mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for getMetrics in indexcoord (#13440)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13441/head
parent
2adf06df1d
commit
fd9c5203e8
|
@ -162,6 +162,7 @@ type indexNodeGetMetricsResponse struct {
|
|||
err error
|
||||
}
|
||||
|
||||
// getMetrics get metrics information of all IndexNode.
|
||||
func (nm *NodeManager) getMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) []indexNodeGetMetricsResponse {
|
||||
nm.lock.RLock()
|
||||
defer nm.lock.RUnlock()
|
||||
|
|
Loading…
Reference in New Issue