Skip to content

[trace/sampling] Revises ProbabilitySampler handling when randomness is not available#5039

Open
yuanyuanzhao3 wants to merge 2 commits intoopen-telemetry:mainfrom
yuanyuanzhao3:probabilitysampling-erase-th-no-randomness
Open

[trace/sampling] Revises ProbabilitySampler handling when randomness is not available#5039
yuanyuanzhao3 wants to merge 2 commits intoopen-telemetry:mainfrom
yuanyuanzhao3:probabilitysampling-erase-th-no-randomness

Conversation

@yuanyuanzhao3
Copy link
Copy Markdown
Contributor

@yuanyuanzhao3 yuanyuanzhao3 commented Apr 20, 2026

Changes

Revises ProbabilitySampler to avoid and/or erase ot.th key if trace ID randomness and an explicit rv value is not available.

Fixes #5035

For non-trivial changes, follow the change proposal process.

…ase `ot.th` key if trace ID randomness and an explicit `rv` value is not available.
@yuanyuanzhao3 yuanyuanzhao3 requested review from a team as code owners April 20, 2026 20:31
@yuanyuanzhao3
Copy link
Copy Markdown
Contributor Author

FYI, @MrAlias and @jmacd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve the discrepancy on tracestate ot.th generation when randomness (trace id or rv) is absent

2 participants