Skip to content

Commit

Permalink
chore: troubleshooting host metrics on redhat8
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetit committed Dec 13, 2023
1 parent dcb0680 commit 22dd155
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sensors/powercap_rapl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<i32>() {
Expand Down

0 comments on commit 22dd155

Please sign in to comment.