mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip ci] Add comment for GetMetrics (#9055)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
e39f46cfb2
commit
170e76aee3
@ -536,6 +536,7 @@ func (qc *QueryCoord) isHealthy() bool {
|
|||||||
return code == internalpb.StateCode_Healthy
|
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) {
|
func (qc *QueryCoord) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
||||||
log.Debug("QueryCoord.GetMetrics",
|
log.Debug("QueryCoord.GetMetrics",
|
||||||
zap.Int64("node_id", Params.QueryCoordID),
|
zap.Int64("node_id", Params.QueryCoordID),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user