Type Definition prometheus::core::GenericGaugeVec[][src]

type GenericGaugeVec<P> = MetricVec<GaugeVecBuilder<P>>;

The underlying implementation for GaugeVec and IntGaugeVec.

Implementations

impl<P: Atomic> GenericGaugeVec<P>[src]

pub fn new(opts: Opts, label_names: &[&str]) -> Result<Self>[src]

Create a new GenericGaugeVec based on the provided Opts and partitioned by the given label names. At least one label name must be provided.