diff --git a/src/config/src/utils/sysinfo/mod.rs b/src/config/src/utils/sysinfo/mod.rs index 4f992d6391..2bf32d6fb5 100644 --- a/src/config/src/utils/sysinfo/mod.rs +++ b/src/config/src/utils/sysinfo/mod.rs @@ -41,7 +41,7 @@ pub struct NodeMetrics { /// Get the node running metrics pub fn get_node_metrics() -> NodeMetrics { let cpu_total = get_cpu_limit(); - let cpu_usage = get_cpu_usage(); + let cpu_usage = get_cpu_usage() / cpu_total as f32; let memory_total = get_memory_limit(); let memory_usage = get_memory_usage(); let tcp_conns = get_tcp_connections();