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.

The implementation-level interface to a generic synchronous bound instrument

Required methods

fn record_one(&self, number: Number)[src]

Capture a single synchronous metric event.

Loading content...

Implementors

Loading content...