From 22dd1557afaeff9da4493174c754895c2698cdc1 Mon Sep 17 00:00:00 2001 From: Benoit Petit Date: Wed, 13 Dec 2023 16:44:44 +0100 Subject: [PATCH] chore: troubleshooting host metrics on redhat8 --- src/sensors/powercap_rapl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sensors/powercap_rapl.rs b/src/sensors/powercap_rapl.rs index a294cdbb..ced3ef9a 100644 --- a/src/sensors/powercap_rapl.rs +++ b/src/sensors/powercap_rapl.rs @@ -79,6 +79,7 @@ impl RecordReader for Topology { Ok(psys_record) } else { let mut total = 0; + debug!("Suming socket metrics to get host metric"); for s in &self.sockets { if let Ok(r) = s.read_record() { if let Ok(val) = r.value.parse::() {