Struct opentelemetry::metrics::InstrumentConfig
source · [−]pub struct InstrumentConfig { /* private fields */ }
This is supported on crate feature
metrics
only.Expand description
Config contains some options for metrics of any kind.
Implementations
Create a new config from instrumentation name
Create a new config with instrumentation name and optional version
Description is an optional field describing the metric instrument.
Unit is an optional field describing the metric instrument data.
Instrumentation name is the name given to the Meter that created this instrument.
Instrumentation version returns the version of instrumentation
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstrumentConfig
impl Send for InstrumentConfig
impl Sync for InstrumentConfig
impl Unpin for InstrumentConfig
impl UnwindSafe for InstrumentConfig
Blanket Implementations
Mutably borrows from an owned value. Read more