feat(react-native): Document standalone app start tracing and extend app start API#18635
Open
antonis wants to merge 5 commits into
Open
feat(react-native): Document standalone app start tracing and extend app start API#18635antonis wants to merge 5 commits into
antonis wants to merge 5 commits into
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.
1 Skipped Deployment
|
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.
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 (shipped in RN SDK 8.17.0) 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 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?
PRE-MERGE CHECKLIST
EXTRA RESOURCES