Skip to content

Commit e170161

Browse files
authored
Rename org config to orgId (#13688)
1 parent 48e4795 commit e170161

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

develop-docs/sdk/telemetry/traces/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ This Option replaces the non-standardized `tracingOrigins` option which was prev
7676

7777
This must be a boolean value. Default is `false`. This option controls trace continuation from unknown 3rd party services that happen to be instrumented by a Sentry SDK.
7878

79-
If the SDK is able parse an org ID from the configured DSN, it must be propagated as a baggage entry with the key `sentry-org`. Given a DSN of `https://1234@o1.ingest.us.sentry.io/1`, the org ID is `1`, based on `o1`.
79+
If the SDK is able parse an org ID from the configured DSN, it must be propagated as a baggage entry with the key `sentry-org_id`. Given a DSN of `https://1234@o1.ingest.us.sentry.io/1`, the org ID is `1`, based on `o1`.
8080

81-
Addiotnally, the SDK must be configurable with an optional `org: <org-id>` setting that takes precedence over the parsed value from the DSN. This option should be set when running a self-hosted version of Sentry or if a non-standard Sentry DSN is used, such as when using a local Relay.
81+
Addiotnally, the SDK must be configurable with an optional `orgId: <org-id>` setting that takes precedence over the parsed value from the DSN. This option should be set when running a self-hosted version of Sentry or if a non-standard Sentry DSN is used, such as when using a local Relay.
8282

83-
On incoming traces, the SDK must compare the `sentry-org` baggage value against its own parsed value from the DSN or org setting. Only if both match, the trace is continued. If there is no match, neither the trace ID, the parent sampling decision nor the baggage should be taken into account.
83+
On incoming traces, the SDK must compare the `sentry-org_id` baggage value against its own parsed value from the DSN or org setting. Only if both match, the trace is continued. If there is no match, neither the trace ID, the parent sampling decision nor the baggage should be taken into account.
8484
The SDK should behave like it is the head of trace in this case, and not consider any propagted values.
8585

8686
This behavior can be disabled by setting `strictTraceContinuation: false` in the SDK init call.

0 commit comments

Comments
 (0)