DataDog / dd-sdk-flutter

Flutter bindings and tools for utilizing Datadog Mobile SDKs
Apache License 2.0
41 stars 40 forks source link

feat: Add configurable trace header injection #628

Open fuzzybinary opened 5 days ago

fuzzybinary commented 5 days ago

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