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

The implementation-level interface to a generic synchronous instrument (e.g., Histogram and Counter instruments).

Required Methods

Capture a single synchronous metric event.

Implementors