tvix_tracing

Function gen_tracer_provider

source
pub(crate) fn gen_tracer_provider(
    service_name: String,
) -> Result<TracerProvider, TraceError>
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).