Skip to content

[DO NOT MERGE] ref(sdk): Send internal events only to sentry-mirror#117794

Draft
alexander-alderman-webb wants to merge 11 commits into
masterfrom
webb/sdk/remove-multiplexer
Draft

[DO NOT MERGE] ref(sdk): Send internal events only to sentry-mirror#117794
alexander-alderman-webb wants to merge 11 commits into
masterfrom
webb/sdk/remove-multiplexer

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Send events only to dsn, and stop reading the relay_dsn option entirely. Remove multiplexing logic that sends events to multiple DSNs.

These options are not parsed anymore:

  • store.use-relay-dsn-sample-rate
  • store.allow-s4s-ddm-sample-rate
  • store.s4s-transaction-sample-rate

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 16, 2026
Comment thread src/sentry/utils/sdk.py Outdated
@alexander-alderman-webb alexander-alderman-webb changed the title ref(sdk): Only send internal events to sentry-mirror ref(sdk): Send internal events only to sentry-mirror Jun 16, 2026
@cleptric cleptric changed the title ref(sdk): Send internal events only to sentry-mirror [DO NOT MERGE] ref(sdk): Send internal events only to sentry-mirror Jun 16, 2026

@markstory markstory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great to see this moving forward 👏

Comment thread src/sentry/utils/sdk.py Outdated
sentry4sentry=sdk_options.pop("dsn", None),
sentry_saas=sdk_options.pop("relay_dsn", None),
)
dsn = sdk_options.pop("sentry_mirror_dsn", None)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any reason to not use dsn as the key? Self-hosted, local development, and single-tenants don't use mirrors.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can't remember, which means I changed it to dsn now 😄
2d9fd64

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.

3 participants