major refactor
* uccm add parsers and metrics for gps sats, loop diag * cleanups and improvements * fix refclock to survive chrony restart * cargo updates * etc
This commit is contained in:
@@ -63,8 +63,8 @@ impl ChimemonSource for HwmonSource {
|
||||
sensor_val
|
||||
);
|
||||
let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
|
||||
let mut builder =
|
||||
DataPoint::builder(&self.config.sources.hwmon.measurement).timestamp(now.as_nanos().try_into().unwrap());
|
||||
let mut builder = DataPoint::builder(&self.config.sources.hwmon.measurement)
|
||||
.timestamp(now.as_nanos().try_into().unwrap());
|
||||
for (key, value) in &self.config.influxdb.tags {
|
||||
builder = builder.tag(key, value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user