docs: Add strict trace continuation for Dart/Flutter#16986
Draft
docs: Add strict trace continuation for Dart/Flutter#16986
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
6 tasks
coolguyzone
reviewed
Mar 19, 2026
|
|
||
| <SdkOption name="strictTraceContinuation" type="bool" defaultValue="false"> | ||
|
|
||
| If set to `true`, the SDK will only continue a trace if the organization ID of the incoming trace found in the `baggage` header matches the organization ID of the current Sentry client. |
Contributor
There was a problem hiding this comment.
Suggested change
| If set to `true`, the SDK will only continue a trace if the organization ID of the incoming trace found in the `baggage` header matches the organization ID of the current Sentry client. | |
| If set to `true`, the SDK will only continue a trace when the organization ID in the incoming `baggage` header matches the organization ID of the current Sentry client. |
coolguyzone
reviewed
Mar 19, 2026
|
|
||
| If set to `true`, the SDK will only continue a trace if the organization ID of the incoming trace found in the `baggage` header matches the organization ID of the current Sentry client. | ||
|
|
||
| The client's organization ID is extracted from the DSN or can be set with the `orgId` option. |
Contributor
There was a problem hiding this comment.
Suggested change
| The client's organization ID is extracted from the DSN or can be set with the `orgId` option. | |
| The client's organization ID is extracted from the DSN or can be explicitly set with the `orgId` option. |
coolguyzone
reviewed
Mar 19, 2026
|
|
||
| The client's organization ID is extracted from the DSN or can be set with the `orgId` option. | ||
|
|
||
| If the organization IDs do not match, the SDK will start a new trace instead of continuing the incoming one. This is useful to prevent traces of unknown third-party services from being continued in your application. |
Contributor
There was a problem hiding this comment.
Suggested change
| If the organization IDs do not match, the SDK will start a new trace instead of continuing the incoming one. This is useful to prevent traces of unknown third-party services from being continued in your application. | |
| If the organization IDs don't match, the SDK will start a new trace instead of continuing the incoming one. This is useful to prevent traces of unknown third-party services from being continued in your application. |
coolguyzone
reviewed
Mar 19, 2026
|
|
||
| The organization ID for your Sentry project. | ||
|
|
||
| The SDK will try to extract the organization ID from the DSN. If it cannot be found, or if you need to override it, you can provide the ID with this option. The organization ID is used for trace propagation and features like `strictTraceContinuation`. |
Contributor
There was a problem hiding this comment.
Suggested change
| The SDK will try to extract the organization ID from the DSN. If it cannot be found, or if you need to override it, you can provide the ID with this option. The organization ID is used for trace propagation and features like `strictTraceContinuation`. | |
| The SDK will try to extract the organization ID from the DSN. If it can't be found, or if you need to override it, you can explicitly provide the ID with this option. The organization ID is used for trace propagation and features like `strictTraceContinuation`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Add documentation for the
strictTraceContinuationandorgIdoptions for the Dart/Flutter SDK.Changes:
dart.flutter.mdx— Add strict trace continuation section to the Flutter distributed tracing guide with Dart code examplesoptions.mdx— AddstrictTraceContinuationandorgIdoption descriptions to the Dart SDK configuration options pageRelated SDK PR: getsentry/sentry-dart#3567
IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST