Trait prometheus::core::MetricVecBuilder [−][src]
An interface for building a metric vector.
Associated Types
type M: Metric
[src]
The associated Metric collected.
type P: Describer + Sync + Send + Clone
[src]
The associated describer.
Required methods
fn build(&self, _: &Self::P, _: &[&str]) -> Result<Self::M>
[src]
build
builds a Metric
with option and corresponding label names.