Skip to main content

init_telemetry

Function init_telemetry 

Source
pub fn init_telemetry(
    _cfg: &TelemetryConfig,
    _service_name: &str,
    log_level: &str,
) -> Result<bool, TelemetryError>
Expand description

When otel is off, install a basic tracing-subscriber formatter so log output still reaches stderr. Returns Ok(false) to indicate that no exporters were installed.