feat(react-native): Document standalone app start tracing and extend app start API#18635
Merged
Merged
Conversation
…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.
…dalone-app-start-docs
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
antonis
commented
Jul 3, 2026
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.
…dalone-app-start-docs
…8.18.0 Bumps the standalone tracing availability note to 8.17.2 (patch release) and removes the TODO now that the extend app start implementation is merged (ships in 8.18.0).
lucas-zimerman
approved these changes
Jul 7, 2026
lucas-zimerman
left a comment
Collaborator
There was a problem hiding this comment.
APIs match, docs looks good, LGTM! once the new version is relased
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
_experiments.enableStandaloneAppStartTracingoption (available since RN SDK 8.17.2) and the dedicatedapp.starttransaction it emits (decoupled from navigation).tracesSamplerkeyed on the transaction name.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 the extend API from getsentry/sentry-react-native#6392, which is merged and ships in RN SDK 8.18.0 (its alert is marked accordingly). The standalone-tracing portion is already available in 8.17.2.
IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
EXTRA RESOURCES