mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comments for GetMetrics (#11347)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
2c215a0be3
commit
b7644c0c03
@ -529,6 +529,7 @@ func (node *QueryNode) isHealthy() bool {
|
||||
}
|
||||
|
||||
// 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 ...
|
||||
func (node *QueryNode) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
||||
log.Debug("QueryNode.GetMetrics",
|
||||
zap.Int64("node_id", Params.QueryNodeID),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user