sentry-span-streaming-js
Installation
SKILL.md
All Skills > Feature Setup > Span Streaming (JavaScript)
Sentry Span Streaming Migration (JavaScript)
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 JavaScript SDK (Browser, Node.js, Bun, Deno, Cloudflare). For Python, see Span Streaming (Python).
Invoke This Skill When
- User asks to "enable span streaming" or "migrate to span streaming" in a JavaScript project
- User wants to switch from transaction-based to streamed span delivery
- User mentions
traceLifecycle,spanStreamingIntegration, orwithStreamedSpan - User wants lower latency span delivery or per-span processing