Function setup_tracing

Source
pub fn setup_tracing(otel: OpenTelemetry) -> Result<()>
Expand description

Initializes tracing to stdout and optionally an open-telemetry exporter.

Trace filtering defaults to INFO and can be configured using the conventional RUST_LOG environment variable.

The open-telemetry configuration is controlled via environment variables as defined in the specification