Trait prom::Collector [] [src]

pub trait Collector: Sync + Send {
    fn desc(&self) -> &Desc;
    fn collect(&self) -> MetricFamily;
}

Required Methods

desc returns the descriptor for the metric collector.

collect collects the metric.

Implementors