pub fn init(config: &TelemetryConfig) -> Result<()>Expand description
Initialize OpenTelemetry tracing with OTLP export.
Sets up a global tracing subscriber that:
- Emits human-readable logs to stderr (controlled by
RUST_LOG). - Exports spans as OpenTelemetry traces via OTLP/gRPC.
Call shutdown before process exit to flush pending spans.