Fix hwmon measurement names
This commit is contained in:
@@ -70,7 +70,7 @@ pub struct HwmonSensorConfig {
|
||||
pub struct HwmonConfig {
|
||||
pub enabled: bool,
|
||||
pub interval: u64,
|
||||
pub measurement_prefix: String,
|
||||
pub measurement: String,
|
||||
pub sensors: Map<String, HwmonSensorConfig>,
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ impl Default for HwmonConfig {
|
||||
HwmonConfig {
|
||||
enabled: false,
|
||||
interval: 60,
|
||||
measurement_prefix: "hwmon.".into(),
|
||||
measurement: "hwmon".into(),
|
||||
sensors: map! {},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user