Trait opentelemetry::metrics::sdk_api::SyncBoundInstrumentCore[][src]

pub trait SyncBoundInstrumentCore: Debug + Send + Sync {
    fn record_one(&self, number: Number);
}
This is supported on crate feature metrics only.
Expand description

The implementation-level interface to a generic synchronous bound instrument

Required methods

Capture a single synchronous metric event.

Implementors