-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tracing] Add tests for proposed new DD_TRACE_PROPAGATION_BEHAVIOR_EXTRACT configuration (APMAPI-1007) #3602
base: main
Are you sure you want to change the base?
Conversation
59d844f
to
8fb956a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is only being updated because it also uses the tracing_config_nondefault
and tracing_config_nondefault_2
scenarios, which are being co-opted by the new tests. As a result, the implementation details of the tests have been updated while keeping the same high-level goal. cc @mhlidd
…R_EXTRACT configuration
…ndpoint, to return the request and response headers as a dict
… for baggage propagation. - Add another test case with DD_TRACE_PROPAGATION_BEHAVIOR_EXTRACT=restart and DD_TRACE_PROPAGATION_EXTRACT_FIRST=true, where there is always only one span link, which was the valid incoming trace context that got moved to a span link
…dog,tracecontext,b3multi", and update tests/test_distributed.py appropriately
…, W3C Trace Context, B3Multi) and run two test cases per config: Single trace context and multiple trace contexts. This demonstrates how span links will be created in tandem with the ExtractBehavior configurations
…inks represent "terminated contexts" from the incoming context to the final context. Also, make some small assertion fixes
…ssertion updates needed
de515e6
to
a225dd9
Compare
…Conflicting_Contexts_Datadog_Precedence test class
- tests/test_distributed.py::Test_Span_Links_Flags_From_Conflicting_Contexts - tests/test_distributed.py::Test_Span_Links_Omit_Tracestate_From_Conflicting_Contexts
Motivation
Changes
I intend to only keep the weblog endpoints as they perform the automatic trace context propagation for supported web frameworks, instead of the parametric test application endpoints which are extremely manual.
Workflow
codeowners
file quickly.🚀 Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
[<language>]
, double-check that only<language>
is impacted by the changebuild-XXX-image
label is present