Struct opentelemetry::metrics::SumObserver [−][src]
pub struct SumObserver<T> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
A metric that captures a precomputed 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.