mirror of https://github.com/milvus-io/milvus.git
Fix get memory info in getSystemInfoMetrics (#9809)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9770/head
parent
26a365c06d
commit
59daccf67c
|
@ -35,8 +35,8 @@ func getSystemInfoMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest,
|
|||
IP: node.session.Address,
|
||||
CPUCoreCount: metricsinfo.GetCPUCoreCount(false),
|
||||
CPUCoreUsage: metricsinfo.GetCPUUsage(),
|
||||
Memory: uint64(getUsedMemory(node.historical.replica, node.streaming.replica)),
|
||||
MemoryUsage: uint64(getTotalMemory()),
|
||||
Memory: uint64(getTotalMemory()),
|
||||
MemoryUsage: uint64(getUsedMemory(node.historical.replica, node.streaming.replica)),
|
||||
Disk: metricsinfo.GetDiskCount(),
|
||||
DiskUsage: metricsinfo.GetDiskUsage(),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue