Skip to content

feat(types): Add organization ID parsing for DSNs#1202

Open
szokeasaurusrex wants to merge 1 commit into
szokeasaurusrex/sampling-stratfrom
szokeasaurusrex/org-id-dsn-parse
Open

feat(types): Add organization ID parsing for DSNs#1202
szokeasaurusrex wants to merge 1 commit into
szokeasaurusrex/sampling-stratfrom
szokeasaurusrex/org-id-dsn-parse

Conversation

@szokeasaurusrex

@szokeasaurusrex szokeasaurusrex commented Jun 25, 2026

Copy link
Copy Markdown
Member

Expose Dsn::org_id so callers can derive the SDK organization ID needed for strict trace continuation. Parse only Sentry SaaS ingest DSN hosts, including regional hosts, and return None for self-hosted, Relay, malformed, and overflow cases.

Closes #1159
Closes RUST-233

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against cb59fdf

@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/org-id-dsn-parse branch from cbde4ff to 53bd774 Compare June 25, 2026 13:08
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review June 25, 2026 13:10
@szokeasaurusrex szokeasaurusrex requested a review from lcian as a code owner June 25, 2026 13:10
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

RUST-233

@lcian lcian removed their request for review June 25, 2026 14:02
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/org-id-dsn-parse branch from 53bd774 to d8f38f3 Compare July 7, 2026 11:05
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner July 7, 2026 11:05
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/org-id-dsn-parse branch from d8f38f3 to 08f1a80 Compare July 8, 2026 13:56
@szokeasaurusrex szokeasaurusrex changed the base branch from master to szokeasaurusrex/sampling-strat July 8, 2026 13:56
Expose `Dsn::org_id` so callers can derive the SDK organization ID needed for strict trace continuation. Parse only Sentry SaaS ingest DSN hosts, including regional hosts, and return `None` for self-hosted, Relay, malformed, and overflow cases.

Closes [#1159](#1159)
Closes [RUST-233](https://linear.app/getsentry/issue/RUST-233)
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/org-id-dsn-parse branch from 08f1a80 to cb59fdf Compare July 8, 2026 14:04
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.

Parse organization ID from DSN

2 participants