feat: ensure tracecontext headers take precedence over datadog (AIT-10281) by zacharycmontoya · Pull Request #142 · DataDog/dd-trace-cpp
added 2 commits
July 19, 2024 14:10…n")->SECTION("W3C Phase 3 support - Preferring tracecontext") with the following test inputs and outputs:
- INPUT: traceparent
- INPUT: tracestate
- INPUT: x-datadog-trace-id
- INPUT: x-datadog-parent-id
- INPUT: x-datadog-tags
- OUTPUT: expected_parent_id
- OUTPUT: expected_datadog_w3c_parent_id
This tests the system-test case test_tracestate_w3c_p_extract_datadog_w3c for W3C Phase 3.
…d the first_style to be used as the main context. This improves the lookup and logic of the merge at the cost of moving up the error cases up a level to Tracer::extract_span
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters