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
Add multiple context extraction support (DataDog#6138)
* feat(core): Add multiple context extraction
Extract multiple propagated context according the new W3C trace context initiative.
Add a config to limit to the first valid one.
* fix(core): Fix B3 extractor tests
* feat(core): Add terminated extracted contexts as span links
* feat(core): Add parent span to tracestate
* feat(core): Revert parent span addition to tracestate
* feat(core): Clean up W3C propagation tags error handling
* feat(core): Add tracestate propagation from different propagation tags
* fix(core): Fix tracestate encoding when Datadog and other members are present using W3CPtags
* fix(core): Fix terminated context addition in span builder
* fix(core): Fix trace id comparison
* chore: Clean up comments
* feat(core): Ensure extracted context always have at least an empty PTags instance
It will prevent the only case where a DDSpanContext can have a null PTags.
This will allow to store tracestate if found from another valid extracted context.
0 commit comments