Struct opentelemetry::metrics::Counter [−][src]
pub struct Counter<T>(_);
This is supported on crate feature
metrics
only.Expand description
A metric that accumulates values.
Implementations
Creates a bound instrument for this counter. The labels 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 Counter<T>
impl<T> !UnwindSafe for Counter<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V