Skip to content

Send sentry-org_id in baggage #16290

Description

@mydea

We want to make sure to send the org_id in baggage with outgoing requests, so that other SDKs can verify strict trace continuation.

  1. The org id can be extracted from the DSN via regex, see https://develop.sentry.dev/sdk/telemetry/traces/#stricttracecontinuation
  2. Optionally users should be able to pass orgId to their sentry init, which should take precedence if set (this is really more of a edge case/power user thing - on saas, DSN extraction should always work!)
  3. If nothing can be found/extracted, no baggage entry should be set
  4. This should be sent both in browser as well as in node.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions