gen_tracer_provider

Function gen_tracer_provider 

Source
pub(crate) fn gen_tracer_provider() -> Result<SdkTracerProvider, ExporterBuildError>
Available on crate feature otlp only.
Expand description

Returns an OTLP tracer, and the TX part of a channel, which can be used to request flushes (and signal back the completion of the flush).