Skip to content

docs(span-streaming): Use top-level trace_lifecycle and ignore_spans in Python skill#289

Open
ericapisani wants to merge 1 commit into
mainfrom
py-2611-update-docs
Open

docs(span-streaming): Use top-level trace_lifecycle and ignore_spans in Python skill#289
ericapisani wants to merge 1 commit into
mainfrom
py-2611-update-docs

Conversation

@ericapisani

Copy link
Copy Markdown
Member

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

  • Rewrite the enable, sampling, ignore_spans, minimal setup, and checklist examples to use top-level 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 in the upstream PR.

Fixes PY-2611
Fixes GH-6823
Refs PY-2609
Refs GH-6820

…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
@linear-code

linear-code Bot commented Jul 14, 2026

Copy link
Copy Markdown

PY-2611

PY-2609

@ericapisani ericapisani marked this pull request as ready for review July 14, 2026 17:38
@ericapisani ericapisani requested review from a team and sentrivana July 14, 2026 17:38
@ericapisani

Copy link
Copy Markdown
Member Author

The version will need to be updated pending the release of getsentry/sentry-python#6821

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.

2 participants