feat(sampling): Support for OpenTelemetry consistent tracestate sampling - #12397
Draft
MilanGarnier wants to merge 4 commits into
Draft
feat(sampling): Support for OpenTelemetry consistent tracestate sampling#12397MilanGarnier wants to merge 4 commits into
MilanGarnier wants to merge 4 commits into
Conversation
Contributor
|
🎯 Code Coverage (details) 🔗 Commit SHA: 9e2422a | Docs | View more details | Give us feedback! |
Contributor
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
MilanGarnier
force-pushed
the
milan.garnier/ot.th
branch
from
September 3, 2026 13:58
3643548 to
2f90ba6
Compare
MilanGarnier
changed the base branch from
master
to
milan.garnier/preserve-deterministic-sampler-rate
September 3, 2026 13:59
Base automatically changed from
milan.garnier/preserve-deterministic-sampler-rate
to
master
September 3, 2026 18:45
MilanGarnier
force-pushed
the
milan.garnier/ot.th
branch
from
September 4, 2026 09:29
a168627 to
9e2422a
Compare
3 tasks
MilanGarnier
changed the base branch from
master
to
milan.garnier/otel-tracestate-refactor
September 4, 2026 09:30
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Adds OpenTelemetry consistent probability-sampling behavior on top of the
ottracestate parsing introduced by #12405.rvandth.Motivation
Make Java tracer sampling decisions interoperable with OpenTelemetry
consistent probability sampling and provide the state needed for downstream
tracestate propagation.
Additional Notes
This is the second PR in a two-PR stack and depends on #12405.
This PR covers propagation and sampling only. OTLP export will follow in a
separate change.
Validation after rebasing the stack onto the current
master:dd-trace-corepropagation and sampling tests passed.:dd-trace-core:compileTraceAgentTestJavapassed.:dd-trace-core:spotlessCheckandgit diff --checkpassed.Prior validation of the feature branch:
:dd-trace-core:testrun passed 4,277 of 4,278 tests. The remainingtiming-sensitive
PendingTraceBufferTestcase passed in isolation.Contributor Checklist
type:andcomp:labels.Jira ticket: APMAPI-2171