sentry-span-streaming-dart
Installation
SKILL.md
All Skills > Feature Setup > Span Streaming (Dart)
Sentry Span Streaming Migration (Dart/Flutter)
Migrate from the default transaction-based trace lifecycle (SentryTraceLifecycle.static) to span streaming (SentryTraceLifecycle.stream), where spans are sent individually as they complete instead of being batched into a transaction at the end.
This skill covers the Dart and Flutter SDKs (sentry, sentry_flutter, and integration packages such as sentry_dio, sentry_sqflite, sentry_drift). For JavaScript, see Span Streaming (JavaScript). For Python, see Span Streaming (Python).
Invoke This Skill When
- User asks to "enable span streaming" or "migrate to span streaming" in a Dart or Flutter project
- User wants to switch from transaction-based to streamed span delivery
- User mentions
traceLifecycle,SentryTraceLifecycle.stream,Sentry.startSpan, orSentrySpanV2 - User wants lower latency span delivery or per-span processing