Skip to content

docs(mobile): Add headless app starts and platform comparison to Mobile Vitals#17897

Draft
itaybre wants to merge 4 commits into
masterfrom
mobile_vitals_doc_update
Draft

docs(mobile): Add headless app starts and platform comparison to Mobile Vitals#17897
itaybre wants to merge 4 commits into
masterfrom
mobile_vitals_doc_update

Conversation

@itaybre
Copy link
Copy Markdown
Contributor

@itaybre itaybre commented May 27, 2026

DESCRIBE YOUR PR

Document headless app starts and Android/iOS platform differences on the Mobile Vitals App Starts page:

  • Add a comparison table for cold/warm start definitions across Android and iOS (measurement start/end, thresholds, prewarming)
  • Add a Headless App Starts section explaining Android-only headless tracking, its requirement for standalone app start tracing, and platform support
  • Update the Mobile Vitals index page to mention headless starts and link to platform-specific details

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

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 29, 2026 10:15pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 29, 2026 10:15pm

Request Review

@codeowner-assignment codeowner-assignment Bot requested review from a team May 27, 2026 03:11
…le Vitals

Document headless app start tracking (Android-only), add a cold/warm
start comparison table between Android and iOS, and link to SDK docs
for full platform-specific details.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@buenaflor buenaflor left a comment

Choose a reason for hiding this comment

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

nice, looks good, just one comment

Comment thread docs/product/dashboards/sentry-dashboards/mobile/mobile-vitals/app-starts.mdx Outdated
Comment thread docs/product/dashboards/sentry-dashboards/mobile/mobile-vitals/index.mdx Outdated
Comment thread docs/product/dashboards/sentry-dashboards/mobile/mobile-vitals/index.mdx Outdated

Both Android and iOS distinguish between cold and warm starts, but the exact definitions and measurement approaches differ between platforms:

| | Android | iOS |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think there's a couple of missing details in this table for Android -- I let claude compare it with the implementation (AppStartMetrics) and there's multiple things we potentially need to update:

  • Measurement Start - should say something like "Process fork time (API 24+), with fallback to ContentProvider creation"
  • Warm Start - "Any start that isn't cold -
    includes background returns, activity recreation, and late launches"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for checking, an Android look is always appreciated.
I tried using android docs as reference, but I might have been confused

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Android docs may have been outdated, updated them too

itaybre and others added 2 commits May 29, 2026 17:42
…/index.mdx

Co-authored-by: Chris Aigner <25478494+christophaigner@users.noreply.github.com>
- Update Android warm start definition to match implementation (includes
  background returns, activity recreation, late launches)
- Update measurement start to reflect process fork time (API 24+) with
  ContentProvider fallback
- Add headless app start measurement end Alert
- Add app.vitals.start.prewarmed reference for iOS standalone app starts
- Align Android SDK docs page with the same implementation details

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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