mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
Install CoroAwareContextStorage as the process-wide OTel runtime context storage in TelemetryImpl::start(), before SetTracerProvider and before any span is created, so the ambient context follows JobQueue coroutines across yield/resume. Hold it in a member for the process lifetime; not reset in stop() because resetting while spans may exist is SDK undefined behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>