docs(span-streaming): Use top-level trace_lifecycle and ignore_spans in Python skill#289
Open
ericapisani wants to merge 1 commit into
Open
docs(span-streaming): Use top-level trace_lifecycle and ignore_spans in Python skill#289ericapisani wants to merge 1 commit into
ericapisani wants to merge 1 commit into
Conversation
…in Python skill Update the Python span-streaming migration skill to document the new top-level sentry_sdk.init() parameters instead of nesting them under _experiments. Rewrite the enable, sampling, ignore_spans, minimal setup, and checklist examples to use trace_lifecycle="stream" and ignore_spans=[...] directly. Add a Common Issues entry for the new warning emitted when ignore_spans is set without span streaming enabled. before_send_span remains under _experiments since it was not promoted. Fixes PY-2611 Fixes GH-6823 Refs PY-2609 Refs GH-6820
Member
Author
|
The version will need to be updated pending the release of getsentry/sentry-python#6821 |
sl0thentr0py
approved these changes
Jul 14, 2026
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.
Summary
Update the Python span-streaming migration skill to document the new top-level
sentry_sdk.init()parameters instead of nesting them under_experiments, following getsentry/sentry-python#6821.Changes
ignore_spans, minimal setup, and checklist examples to use top-leveltrace_lifecycle="stream"andignore_spans=[...]directly.ignore_spansis set without span streaming enabled.before_send_spanremains under_experimentssince it was not promoted in the upstream PR.Fixes PY-2611
Fixes GH-6823
Refs PY-2609
Refs GH-6820