Type Alias prometheus::core::GenericGaugeVec

source ·
pub type GenericGaugeVec<P> = MetricVec<GaugeVecBuilder<P>>;
Expand description

The underlying implementation for GaugeVec and IntGaugeVec.

Aliased Type§

struct GenericGaugeVec<P> { /* private fields */ }

Implementations§

source§

impl<P: Atomic> GenericGaugeVec<P>

source

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

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