From 170e76aee3d5aad6f6153b565e27640e66a7f18f Mon Sep 17 00:00:00 2001 From: xige-16 Date: Sat, 2 Oct 2021 09:42:23 +0800 Subject: [PATCH] [skip ci] Add comment for GetMetrics (#9055) Signed-off-by: xige-16 --- internal/querycoord/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querycoord/impl.go b/internal/querycoord/impl.go index 89ac154e54..3326f40038 100644 --- a/internal/querycoord/impl.go +++ b/internal/querycoord/impl.go @@ -536,6 +536,7 @@ func (qc *QueryCoord) isHealthy() bool { return code == internalpb.StateCode_Healthy } +// GetMetrics returns all the queryCoord's metrics func (qc *QueryCoord) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { log.Debug("QueryCoord.GetMetrics", zap.Int64("node_id", Params.QueryCoordID),