Currently, the libraries that allow Datadog distributed always inject their sampling decision, which has downstream effects and prevents tail based sampling. Allow header injection to be configured so that only sampled traces inject their tracing headers.
refs: RUM-3538
How?
If needed, a description of how this PR accomplishes what it does.
Review checklist
[ ] This pull request has appropriate unit and / or integration tests
[ ] This pull request references a Github or JIRA issue
What and why?
Currently, the libraries that allow Datadog distributed always inject their sampling decision, which has downstream effects and prevents tail based sampling. Allow header injection to be configured so that only sampled traces inject their tracing headers.
refs: RUM-3538
How?
If needed, a description of how this PR accomplishes what it does.
Review checklist