logo
pub trait AsyncInstrumentCore: InstrumentCore {
    fn observe_one(&self, cx: &Context, number: Number, attributes: &[KeyValue]);
}
Available on crate feature metrics only.
Expand description

An implementation-level interface to an asynchronous instrument (e.g., Observable instruments).

Required Methods

Captures a single asynchronous metric event.

Implementors