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

type GenericCounterVec<P> = MetricVec<CounterVecBuilder<P>>;

The underlying implementation for CounterVec and IntCounterVec.

Methods

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

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

Return a GenericLocalCounterVec for single thread usage.