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 new start_span API
  • User wants lower latency span delivery or per-span processing

Detect Environment

Installs
201
GitHub Stars
225
First Seen
14 days ago
sentry-span-streaming-python — getsentry/sentry-for-ai