diff --git a/internal/querynode/impl.go b/internal/querynode/impl.go index b252bdd15d..49da80cbfb 100644 --- a/internal/querynode/impl.go +++ b/internal/querynode/impl.go @@ -572,8 +572,8 @@ func (node *QueryNode) isHealthy() bool { return code == internalpb.StateCode_Healthy } -// TODO(dragondriver): cache the Metrics and set a retention to the cache // GetMetrics return system infos of the query node, such as total memory, memory uasge, cpu usage ... +// TODO(dragondriver): cache the Metrics and set a retention to the cache func (node *QueryNode) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { log.Debug("QueryNode.GetMetrics", zap.Int64("node_id", Params.QueryNodeID),