Skip to content

feat(react-native): Document standalone app start tracing and extend app start API#18635

Open
antonis wants to merge 5 commits into
masterfrom
antonis/rn-589-standalone-app-start-docs
Open

feat(react-native): Document standalone app start tracing and extend app start API#18635
antonis wants to merge 5 commits into
masterfrom
antonis/rn-589-standalone-app-start-docs

Conversation

@antonis

@antonis antonis commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Documents the React Native standalone app start feature and the extend app start API, under tracing/instrumentation/automatic-instrumentation. Mirrors the structure/terminology of the existing Apple standalone app start docs.

Adds a new "Standalone App Start Tracing" section covering:

  • Enabling the experimental _experiments.enableStandaloneAppStartTracing option (shipped in RN SDK 8.17.0) and the dedicated app.start transaction it emits (decoupled from navigation).
  • Setting a dedicated app-start sample rate via a tracesSampler keyed on the transaction name.
  • Extending the App Launch (extendAppStart / getExtendedAppStartSpan / finishExtendedAppStart) to include post-init work, with child-span breakdown and the 30s auto-finish deadline.

Relates to getsentry/sentry-react-native#6017.

Note

The "Extending the App Launch" sub-section documents an API that has not shipped yet — it lands with getsentry/sentry-react-native#6392 in RN SDK 8.18.0. The version in that sub-section's alert (8.18.0) and the inline {/* TODO */} should be confirmed once that release goes out. The standalone-tracing portion is already available in 8.17.0.

IS YOUR CHANGE URGENT?

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

⚠️ Should be merged after getsentry/sentry-react-native#6392 is shipped and the version references here are verified

PRE-MERGE CHECKLIST

  • 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

EXTRA RESOURCES

antonis added 2 commits July 3, 2026 11:49
…app start API

Adds a "Standalone App Start Tracing" section covering the experimental
`enableStandaloneAppStartTracing` option, the dedicated `app.start` transaction,
app-start sample rate via `tracesSampler`, and the `extendAppStart` /
`getExtendedAppStartSpan` / `finishExtendedAppStart` extend API.
@linear-code

linear-code Bot commented Jul 3, 2026

Copy link
Copy Markdown

RN-589

@vercel

vercel Bot commented Jul 3, 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 3, 2026 11:30am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jul 3, 2026 11:30am

Request Review

@antonis antonis requested review from alwx and lucas-zimerman July 3, 2026 11:00
antonis added 2 commits July 3, 2026 13:14
Keeps the PR diff limited to the new Standalone App Start Tracing section
(prettier had reformatted pre-existing code samples in the same file).
Metro doesn't support top-level await; wrap the async launch work in an
async function so the example is copy-pasteable into an app entry file.
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.

1 participant