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

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

The underlying implementation for GaugeVec and IntGaugeVec.

Methods

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.