Struct opentelemetry::metrics::UpDownSumObserver [−][src]
pub struct UpDownSumObserver<T> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
A metric that captures a precomputed non-monotonic sum of values at a point in time.
Implementations
Returns an Observation
: a BatchObserverCallback
argument, for an
asynchronous instrument. This returns an implementation-level
object for use by the SDK, users should not refer to this.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for UpDownSumObserver<T>
impl<T> Send for UpDownSumObserver<T> where
T: Send,
impl<T> Sync for UpDownSumObserver<T> where
T: Sync,
impl<T> Unpin for UpDownSumObserver<T> where
T: Unpin,
impl<T> !UnwindSafe for UpDownSumObserver<T>