enh(generic-snmp): all the new json files pass. Now the plugin must do its job

This commit is contained in:
David Boucher 2025-03-28 09:54:31 +01:00
parent 1d69c1bff5
commit 51a6c2aec8

View File

@ -45,6 +45,7 @@ fn worst(a: Status, b: Status) -> Status {
#[derive(Deserialize, Debug)]
enum QueryType {
Get,
Walk,
}
@ -60,7 +61,7 @@ struct Metric {
#[derive(Deserialize, Debug)]
pub struct Compute {
metrics: Vec<Metric>,
aggregations: Vec<Metric>,
aggregations: Option<Vec<Metric>>,
}
#[derive(Deserialize, Debug)]