You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds three behaviors at the single extraction chokepoint
(ddtrace_apply_distributed_tracing_result):
- continue (default): inherit upstream trace context unchanged
- restart: start a fresh trace; upstream captured as a span link with
reason=propagation_behavior_extract. When the root span doesn't exist
yet at request-init time, the link is queued in
DDTRACE_G(pending_upstream_span_link) and attached in ddtrace_open_span.
- ignore: drop all extracted context including baggage and sampling priority
Also extracts ddtrace_build_span_link_from_result() from the SpanLink
fromHeaders method so it can be reused by the restart path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments