Skip to content

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

Merged
antonis merged 8 commits into
masterfrom
antonis/rn-589-standalone-app-start-docs
Jul 9, 2026
Merged

feat(react-native): Document standalone app start tracing and extend app start API#18635
antonis merged 8 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 (available since RN SDK 8.17.2) 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 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?

  • 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

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)
develop-docs Ready Ready Preview, Comment Jul 9, 2026 10:16am
sentry-docs Ready Ready Preview, Comment Jul 9, 2026 10:16am

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.
antonis added 2 commits July 7, 2026 12:16
…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 lucas-zimerman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

APIs match, docs looks good, LGTM! once the new version is relased

@antonis antonis enabled auto-merge (squash) July 9, 2026 10:05
@codeowner-assignment codeowner-assignment Bot requested a review from a team July 9, 2026 10:06
@antonis antonis merged commit 5eaee7c into master Jul 9, 2026
24 checks passed
@antonis antonis deleted the antonis/rn-589-standalone-app-start-docs branch July 9, 2026 10:21
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.

4 participants