Struct opentelemetry::sdk::metrics::registry::UniqueInstrumentMeterCore
source · pub struct UniqueInstrumentMeterCore { /* private fields */ }
Available on crate feature
metrics
only.Expand description
Implements the MeterCore
interface, adding uniqueness checking for
instrument descriptors.
Trait Implementations§
source§impl Debug for UniqueInstrumentMeterCore
impl Debug for UniqueInstrumentMeterCore
source§impl MeterCore for UniqueInstrumentMeterCore
impl MeterCore for UniqueInstrumentMeterCore
source§fn new_sync_instrument(
&self,
descriptor: Descriptor
) -> Result<Arc<dyn SyncInstrumentCore + Sync + Send + 'static>, MetricsError>
fn new_sync_instrument( &self, descriptor: Descriptor ) -> Result<Arc<dyn SyncInstrumentCore + Sync + Send + 'static>, MetricsError>
Create a new synchronous instrument implementation.
source§fn new_async_instrument(
&self,
descriptor: Descriptor
) -> Result<Arc<dyn AsyncInstrumentCore + Sync + Send + 'static>, MetricsError>
fn new_async_instrument( &self, descriptor: Descriptor ) -> Result<Arc<dyn AsyncInstrumentCore + Sync + Send + 'static>, MetricsError>
Create a new asynchronous instrument implementation. Read more