pub trait MetricsCollector {
// Required methods
fn collect_metrics(&self, deployment_id: &str) -> DeviceResult<Vec<Metric>>;
fn get_collector_name(&self) -> String;
}
Expand description
Metrics collector trait
pub trait MetricsCollector {
// Required methods
fn collect_metrics(&self, deployment_id: &str) -> DeviceResult<Vec<Metric>>;
fn get_collector_name(&self) -> String;
}
Metrics collector trait