pub fn init_tracing(config: Option<&ObservabilityRuntimeConfig>)Expand description
Initialize OpenTelemetry tracing and Pyroscope profiling.
This function sets up:
- A tracing subscriber with both console (fmt) and OTLP layers
- Pyroscope continuous profiling (if enabled)
Call this early in main(), before any tracing macros are used.