[−][src]Trait prometheus::core::Collector
An interface for collecting metrics.
Required methods
fn desc(&self) -> Vec<&Desc>
Return descriptors for metrics.
fn collect(&self) -> Vec<MetricFamily>
Collect metrics.