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