Skip to content

ref(o11y): Modify sample_rate header in MultiplexingTransport#120306

Merged
alexander-alderman-webb merged 13 commits into
masterfrom
webb/envelope-headers-s4s2-sample-rate
Jul 22, 2026
Merged

ref(o11y): Modify sample_rate header in MultiplexingTransport#120306
alexander-alderman-webb merged 13 commits into
masterfrom
webb/envelope-headers-s4s2-sample-rate

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Telemetry sent to s4s2 is sampled at 5% and independently of telemetry sent to SaaS. Adjust the sample rate header so that extrapolation in s4s2 works with the effective sample rate of telemetry.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 22, 2026
@alexander-alderman-webb alexander-alderman-webb changed the title ref(o11y): Modify sample_rate header in MultiplexingTransport ref(o11y): Modify sample_rate header in MultiplexingTransport Jul 22, 2026
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review July 22, 2026 08:45
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner July 22, 2026 08:45
@alexander-alderman-webb alexander-alderman-webb changed the title ref(o11y): Modify sample_rate header in MultiplexingTransport ref(o11y): Modify sample_rate header in MultiplexingTransport Jul 22, 2026
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py Outdated
Comment thread src/sentry/utils/sdk.py
Comment thread src/sentry/utils/sdk.py
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner July 22, 2026 09:21

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1b4737d. Configure here.

Comment thread tests/sentry/utils/test_sdk.py Outdated
Comment thread tests/sentry/utils/test_sdk.py Outdated
@alexander-alderman-webb
alexander-alderman-webb merged commit 571c1cb into master Jul 22, 2026
87 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/envelope-headers-s4s2-sample-rate branch July 22, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants