Function opentelemetry_api::global::set_meter_provider
source · pub fn set_meter_provider<P>(new_provider: P)where
P: MeterProvider + Send + Sync + 'static,
Expand description
Sets the given MeterProvider
instance as the current global meter
provider.