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

pub trait InstrumentCore: Debug + Send + Sync {
    fn descriptor(&self) -> &Descriptor;
}
This is supported on crate feature metrics only.
Expand description

A common interface for synchronous and asynchronous instruments.

Required methods

Description of the instrument’s descriptor

Implementors