[−][src]Trait opentelemetry::api::metrics::counter::CounterHandle
CounterHandle is a handle for Counter instances.
It allows for repeated add calls for a pre-determined LabelSet.
Provided methods
fn add(&self, value: T)
Add works by calling the underlying record_one method
available because this trait also implements InstrumentHandle.
Implementors
impl CounterHandle<f64> for CounterHandle[src]
impl CounterHandle<i64> for IntCounterHandle[src]
impl<T> CounterHandle<T> for NoopHandle<T> where
T: Into<MeasurementValue>, [src]
T: Into<MeasurementValue>,