Trait prometheus::core::Metric[][src]

pub trait Metric: Sync + Send + Clone {
    fn metric(&self) -> Metric;
}
Expand description

An interface models a single sample value with its meta data being exported to Prometheus.

Required methods

Return the protocol Metric.

Implementors