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]
pub fn new() -> Self
[src]
Makes a new Gatherer
instance.
pub fn registry(&self) -> Registry
[src]
Returns a Registry
associated with this gatherer.
pub fn gather(&mut self) -> MetricFamilies
[src]
Gathers metrics.
Trait Implementations
impl Debug for Gatherer
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more