Struct opentelemetry::metrics::ValueRecorder
source · [−]pub struct ValueRecorder<T>(_);
This is supported on crate feature
metrics
only.Expand description
ValueRecorder is a metric that records per-request non-additive values.
Implementations
Creates a bound instrument for this ValueRecorder. The attributes are associated with values recorded via subsequent calls to record.
Creates a Measurement
object to use with batch recording.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for ValueRecorder<T>
impl<T> Send for ValueRecorder<T> where
T: Send,
impl<T> Sync for ValueRecorder<T> where
T: Sync,
impl<T> Unpin for ValueRecorder<T> where
T: Unpin,
impl<T> !UnwindSafe for ValueRecorder<T>
Blanket Implementations
Mutably borrows from an owned value. Read more