Struct prometrics::Gatherer
[−]
[src]
pub struct Gatherer { /* fields omitted */ }
Metrics gatherer.
This can gather metrics that registered to registries which associated with the gatherer.
Methods
impl Gatherer
[src]
fn new() -> Self
[src]
Makes a new Gatherer
instance.
fn registry(&self) -> Registry
[src]
Returns a Registry
associated with this gatherer.
fn gather(&mut self) -> Vec<MetricFamily>
[src]
Gathers metrics.