[][src]Trait opentelemetry::api::metrics::measure::MeasureHandle

pub trait MeasureHandle<T>: InstrumentHandle where
    T: Into<MeasurementValue>, 
{ fn record(&self, value: T) { ... } }

MeasureHandle is a handle for Measure instances.

It allows for repeated record calls for a pre-determined LabelSet.

Provided methods

fn record(&self, value: T)

Record works by calling the underlying record_one method available because this trait also implements InstrumentHandle.

Loading content...

Implementors

impl MeasureHandle<f64> for MeasureHandle[src]

impl MeasureHandle<i64> for IntMeasureHandle[src]

impl<T> MeasureHandle<T> for NoopHandle<T> where
    T: Into<MeasurementValue>, 
[src]

Loading content...