sentry-span-streaming-dart

Migrate Dart and Flutter apps from transaction-based Sentry tracing to span streaming.

1|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/getsentry/plugin-cursor --skill sentry-span-streaming-dart
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-span-streaming-dart
Source: https://github.com/getsentry/plugin-cursor/tree/main/skills/sentry-span-streaming-dart
Command: npx skills add https://github.com/getsentry/plugin-cursor --skill sentry-span-streaming-dart

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Dart and Flutter developers migrate from transaction-based Sentry tracing to span streaming, avoiding outdated APIs and enabling lower-latency span delivery.

Core Features & Use Cases

  • Span Streaming Migration: Guides the switch to SentryTraceLifecycle.stream and replaces transaction workflows with streamed span APIs.
  • API Modernization: Updates manual tracing patterns, attributes, callbacks, sampling configuration, and ignored span rules for the new lifecycle.
  • Use Case: A Flutter team upgrading to a newer Sentry SDK can use this Skill to migrate existing transactions, validate instrumentation, and confirm spans appear correctly in Sentry.

Quick Start

Use the sentry-span-streaming-dart skill to migrate my Dart or Flutter project from transaction-based tracing to Sentry span streaming.

Frequently Asked Questions about sentry-span-streaming-dart

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Dart tracing from transactions to Sentry span streaming?

Migrating Dart tracing to Sentry span streaming involves replacing transaction workflows with streamed span APIs, configuring the SentryTraceLifecycle.stream, and updating manual tracing patterns, attributes, and callbacks for lower-latency span delivery.

What is Sentry span streaming and why should I upgrade my Flutter tracing?

Sentry span streaming is a lower-latency tracing delivery method that replaces outdated transaction-based APIs. Upgrading your Flutter tracing avoids deprecated APIs and enables faster span delivery through the new SentryTraceLifecycle.stream workflow.

How do I replace Sentry transaction workflows with streamed span APIs in Dart?

Replacing Sentry transaction workflows with streamed span APIs requires updating manual tracing patterns, migrating callbacks, applying typed attributes, and configuring the SentryTraceLifecycle.stream to ensure proper streamed span delivery.

Does this Sentry tracing migration support both Dart and Flutter integrations?

Yes, the Sentry tracing migration to span streaming applies to projects using sentry, sentry_flutter, and related integrations, handling SDK upgrades, API replacements, and compatibility handling for both Dart and Flutter applications.

How do I validate Sentry span streaming instrumentation after an SDK upgrade?

Validating Sentry span streaming instrumentation involves running validation checks to confirm spans appear correctly in Sentry, ensuring compatibility handling for streamed span delivery, and verifying that ignored span rules and sampling configurations are updated.

What are the limitations of keeping transaction-based Sentry tracing instead of span streaming?

Keeping transaction-based Sentry tracing limits you to outdated APIs and higher-latency span delivery, whereas span streaming modernizes instrumentation with typed attributes, updated sampling rules, and the SentryTraceLifecycle.stream for faster observability.