Function opentelemetry::global::set_meter_provider

source ยท
pub fn set_meter_provider<P>(new_provider: P)
where P: MeterProvider + Send + Sync + 'static,
Available on crate feature metrics only.
Expand description

Sets the given MeterProvider instance as the current global meter provider.