[−][src]Function opentelemetry::global::set_tracer_provider
#[must_use]pub fn set_tracer_provider<P, T, S>(new_provider: P) -> TracerProviderGuard where
S: Span + Send + Sync,
T: Tracer<Span = S> + Send + Sync,
P: TracerProvider<Tracer = T> + Send + Sync,
Sets the given TracerProvider
instance as the current global provider.