rama::telemetry::opentelemetry::global

Function set_meter_provider

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.