Trait relay_utils::metrics::Collector
pub trait Collector: Sync + Send {
// Required methods
fn desc(&self) -> Vec<&Desc>;
fn collect(&self) -> Vec<MetricFamily>;
}
Expand description
An interface for collecting metrics.