Skip to main content

traces

Function traces 

Source
pub fn traces(
    service: &str,
) -> Result<Option<&'static SdkTracerProvider>, ExporterBuildError>
Expand description

Sends spans as traces, as service, to the OpenTelemetry collector at OTEL_EXPORTER_OTLP_ENDPOINT (such as http://collector:4318), over HTTP; None without one.