feat: added standby occurred to logged data
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
11bd6e3858
commit
cef4088f6b
@ -84,6 +84,8 @@ async fn status_to_datapoints(status: &Status, hostname: &String) -> Vec<DataPoi
|
||||
.field("upgrade_occurred", status.upgrade_occurred).build().unwrap(),
|
||||
DataPoint::builder("status").tag("hostname", hostname)
|
||||
.field("reset_occurred", status.reset_occurred.clone()).build().unwrap(),
|
||||
DataPoint::builder("status").tag("hostname", hostname)
|
||||
.field("standby_occurred", status.standby_occurred.clone()).build().unwrap(),
|
||||
DataPoint::builder("status").tag("hostname", hostname)
|
||||
.field("base_mac", status.base_mac.clone()).build().unwrap(),
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user