Skip to content

docs(dart): Add stream mode callout to integration pages#18610

Draft
buenaflor wants to merge 1 commit into
buenaflor/docs/dart-span-streaming-new-spansfrom
buenaflor/docs/dart-span-streaming-integrations
Draft

docs(dart): Add stream mode callout to integration pages#18610
buenaflor wants to merge 1 commit into
buenaflor/docs/dart-span-streaming-new-spansfrom
buenaflor/docs/dart-span-streaming-integrations

Conversation

@buenaflor

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Adds a stream mode callout to the Dart/Flutter integration pages, mirroring the equivalent Python effort (#18526). This is the "Integration pages" slice of the span streaming docs work.

  • Add a reusable includes/dart-stream-mode-general-callout.mdx
  • Include it on the 14 integration pages that document tracing (app start, asset bundle, Dio, Drift, File, GraphQL, Hive, HTTP, Isar, routing, slow/frozen frames, sqflite, user interaction, and the integrations index)

The callout clarifies that transaction references map to service spans in stream mode, that auto-instrumentation switches automatically, and that manual instrumentation uses Sentry.startSpan.

Because the Dart and Flutter integration pages share these includes, editing the shared includes covers both platforms with no duplication. Integration pages without tracing content (logging, Firebase Remote Config) were intentionally left untouched.

Depends on the New Spans anchor pages (#18554) for the /tracing/new-spans/ link to resolve.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 1, 2026 09:15
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jul 1, 2026 10:34am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jul 1, 2026 10:34am

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a shared “stream mode” callout to Dart/Flutter tracing integration docs so readers understand how transaction references map in stream mode and where to learn more (New Spans).

Changes:

  • Added a reusable MDX include (includes/dart-stream-mode-general-callout.mdx) containing an <Alert> with stream mode guidance.
  • Inserted that include at the top of 14 Dart/Flutter integration include pages (plus the integrations index) that cover tracing-related behavior.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
includes/dart-stream-mode-general-callout.mdx New reusable alert explaining stream mode differences and linking to “New Spans”.
includes/dart-integrations/index.mdx Adds the shared stream mode callout to the integrations index include.
includes/dart-integrations/app-start-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/asset-bundle-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/dio.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/drift-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/file.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/graphql.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/hive-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/http-integration.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/isar-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/routing-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/slow-and-frozen-frames-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/sqflite-instrumentation.mdx Adds the shared stream mode callout near the top of the page.
includes/dart-integrations/user-interaction-instrumentation.mdx Adds the shared stream mode callout near the top of the page.

@@ -0,0 +1,5 @@
<Alert>

References to transactions on this page apply to the default transaction mode. In stream mode, transactions become service spans that stream as they finish — auto-instrumentation switches automatically, and manual instrumentation uses `Sentry.startSpan`. See <PlatformLink to="/tracing/new-spans/">New Spans</PlatformLink>.
@@ -0,0 +1,5 @@
<Alert>

References to transactions on this page apply to the default transaction mode. In stream mode, transactions become service spans that stream as they finish — auto-instrumentation switches automatically, and manual instrumentation uses `Sentry.startSpan`. See <PlatformLink to="/tracing/new-spans/">New Spans</PlatformLink>.
Add a reusable stream mode callout and include it on the Dart and Flutter
integration pages that document tracing. The callout clarifies that
transaction references map to service spans in stream mode, that
auto-instrumentation switches automatically, and that manual instrumentation
uses Sentry.startSpan. Because the integration pages share these includes,
one change covers both Dart and Flutter.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@buenaflor buenaflor force-pushed the buenaflor/docs/dart-span-streaming-integrations branch from 3536199 to c69b7c1 Compare July 1, 2026 10:23
@buenaflor buenaflor changed the base branch from master to buenaflor/docs/dart-span-streaming-new-spans July 1, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants