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