[][src]Type Definition opentelemetry::exporter::metrics::prometheus::IntCounterVec

type IntCounterVec = MetricVec<CounterVecBuilder<AtomicI64>>;

The integer version of CounterVec. Provides better performance if metric values are all integers.

Trait Implementations

impl Counter<i64, HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for IntCounterVec[src]

type Handle = IntCounterHandle

Prometheus' CounterHandle

fn measurement(&self, value: i64) -> Measurement<LabelSet>[src]

Creates a Measurement object to be used by a Meter when batch recording.

fn acquire_handle(&self, labels: &LabelSet) -> Self::Handle[src]

Creates a handle for this instrument.

impl Instrument<HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for IntCounterVec[src]

fn record_one(&self, value: MeasurementValue, label_set: &LabelSet)[src]

Record a single counter measurement value