tvix_tracing

Function gen_otlp_tracer_meter_provider

source
pub(crate) fn gen_otlp_tracer_meter_provider(
    service_name: String,
) -> (impl Tracer + PreSampledTracer, SdkMeterProvider, Sender<Sender<()>>)
Expand description

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