Trait prometheus::local::LocalMetric

source ·
pub trait LocalMetric {
    // Required method
    fn flush(&self);
}
Expand description

An interface models a Metric only usable in single thread environment.

Required Methods§

source

fn flush(&self)

Flush the local metrics to the global one.

Implementors§