Struct opentelemetry::global::GlobalMeterProvider
source · [−]pub struct GlobalMeterProvider { /* private fields */ }
Expand description
Represents the globally configured MeterProvider
instance for this
application.
Implementations
Create a new global meter provider
Trait Implementations
This is supported on crate feature
metrics
only.Creates an implementation of the Meter
interface. The
instrumentation name must be the name of the library providing
instrumentation. This name may be the same as the instrumented code only if
that code provides built-in instrumentation. If the instrumentation name is
empty, then a implementation defined default name will be used instead. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GlobalMeterProvider
impl Send for GlobalMeterProvider
impl Sync for GlobalMeterProvider
impl Unpin for GlobalMeterProvider
impl !UnwindSafe for GlobalMeterProvider
Blanket Implementations
Mutably borrows from an owned value. Read more