Skip to content

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

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

feat(types): Add organization ID parsing for DSNs#1202
szokeasaurusrex wants to merge 1 commit into
masterfrom
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 53bd774

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 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
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

1 participant