fixes for influx, metrics reporting, etc

This commit is contained in:
2026-09-24 01:02:48 -07:00
parent b3481686b2
commit 7242ed4108
2 changed files with 23 additions and 6 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ impl SourceReportDetails for HwmonReport {
for (sensor, value) in &self.values {
metrics.push(SourceMetricSet {
tags: sensor.tags.clone(),
metrics: vec![SourceMetric::new_float("hwmon_value", *value)],
metrics: vec![SourceMetric::new_float("value", *value)],
})
}
// for (sensor, alarm) in &self.alarms {
@@ -145,7 +145,7 @@ impl ChimemonSource for HwmonSource {
}
},
Err(e) => {
error!("Unable to get hwmon sensor value ({})", e.to_string());
error!("Unable to get hwmon sensor value ({}) @ `{:?}`", e.to_string(), s.value_path.to_str());
continue
}
}