Report TODs to influx

This commit is contained in:
2023-09-14 22:18:11 -07:00
parent 7c782e5800
commit 41284649c9
6 changed files with 787 additions and 570 deletions

View File

@@ -116,6 +116,7 @@ pub struct UCCMConfig {
pub baud: u32,
pub status_interval: std::time::Duration,
pub timeout: std::time::Duration,
pub measurement: String,
}
impl Default for UCCMConfig {
@@ -126,6 +127,7 @@ impl Default for UCCMConfig {
baud: 57600,
status_interval: std::time::Duration::from_secs(10),
timeout: std::time::Duration::from_secs(1),
measurement: "uccm_gpsdo".into(),
}
}
}