mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
OTel distinguishes a span's own context from the thread's current/ambient context; SpanGuard is unscoped so spanContext() (own span, default) is what cross-thread childSpan parenting needs, and threadLocalContext() (static) snapshots RuntimeContext::GetCurrent() for propagation. Renames captureContext. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>