sentry-span-streaming-python
Installation
SKILL.md
All Skills > Feature Setup > Span Streaming (Python)
Sentry Span Streaming Migration (Python)
Migrate from the default transaction-based trace lifecycle (static) to span streaming (stream), where spans are sent individually as they complete instead of being batched into a transaction at the end.
This skill covers the Python SDK. For JavaScript, see Span Streaming (JavaScript).
Invoke This Skill When
- User asks to "enable span streaming" or "migrate to span streaming" in a Python project
- User wants to switch from transaction-based to streamed span delivery
- User mentions
trace_lifecycle,sentry_sdk.traces, or the newstart_spanAPI - User wants lower latency span delivery or per-span processing