Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tracing settings

OpenTelemetry export, compiled into every binary and gated at runtime.

Synopsis

[tracing]
enabled = false
otlp_endpoint = "http://localhost:4317"
service_name = "orion"
sample_rate = 1.0
debug_profile_enabled = false

Options

SettingDefaultEnv varWhen to change
tracing.enabledfalseORION_TRACING__ENABLEDEnable to export spans to an OTLP collector.
tracing.otlp_endpoint"http://localhost:4317"ORION_TRACING__OTLP_ENDPOINTPoint at your collector (Jaeger, Tempo, OTel Collector).
tracing.service_name"orion"ORION_TRACING__SERVICE_NAMEDistinguish multiple Orion deployments in one backend.
tracing.sample_rate1.0ORION_TRACING__SAMPLE_RATELower under high traffic; 0.0 to 1.0.
tracing.debug_profile_enabledfalseORION_TRACING__DEBUG_PROFILE_ENABLEDLeave off in production.

With debug_profile_enabled = true, a request carrying X-Orion-Profile: 1 (or ?profile=1) gets an _orion.profile object breaking the request down by phase. The phases are engine lock wait, per-handler durations, trace store, and residual workflow logic. It is off by default so callers cannot probe internal timing.

Last verified 14 September 2026