mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
Add log for getting IndexNode's mertrics (#16747)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
38280698ff
commit
6440c0dd98
@ -175,6 +175,9 @@ func (nm *NodeManager) ListNode() []UniqueID {
|
||||
log.Error("get IndexNode metrics info failed", zap.Error(err))
|
||||
return
|
||||
}
|
||||
log.Debug("IndexCoord get IndexNode's metrics success", zap.Int64("nodeID", id),
|
||||
zap.Int("CPUCoreCount", infos.HardwareInfos.CPUCoreCount), zap.Float64("CPUCoreUsage", infos.HardwareInfos.CPUCoreUsage),
|
||||
zap.Uint64("Memory", infos.HardwareInfos.Memory), zap.Uint64("MemoryUsage", infos.HardwareInfos.MemoryUsage))
|
||||
nm.pq.SetMemory(id, infos.HardwareInfos.Memory)
|
||||
}(&wg, id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user