Skip to content

docs(android): Document standalone app start tracing and extend API#18667

Draft
buenaflor wants to merge 2 commits into
masterfrom
buenaflor/docs/android-extend-app-start-api
Draft

docs(android): Document standalone app start tracing and extend API#18667
buenaflor wants to merge 2 commits into
masterfrom
buenaflor/docs/android-extend-app-start-api

Conversation

@buenaflor

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Mirrors the Apple auto-instrumentation page for Android by documenting standalone app start tracing and the new extend-app-start API on the Android tracing auto-instrumentation page.

  • Add a Standalone App Start Tracing section: how to enable it (manifest meta-data or enableStandaloneAppStartTracing in code, Java/Kotlin) and an app.start tracesSampler example to sample app starts independently
  • Add an Extending the App Start subsection (available since 8.48.0) covering Sentry.extendAppStart(), Sentry.getExtendedAppStartSpan(), and Sentry.finishExtendedAppStart() in Java and Kotlin, with the standalone-tracing requirement called out

Refs sentry-java#5604

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

Mirror the Apple auto-instrumentation page for Android. Add a Standalone
App Start Tracing section with enablement (manifest and code) and an
app.start tracesSampler example, plus an Extending the App Start
subsection covering extendAppStart(), getExtendedAppStartSpan(), and
finishExtendedAppStart() in Java and Kotlin.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

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

Request Review

@codeowner-assignment codeowner-assignment Bot requested a review from a team July 7, 2026 21:00
Document that the extended app start span auto-finishes after 30 seconds
(dropping the app start measurement) and that finishing before the first
frame falls back to the natural app start end.

Co-Authored-By: Claude <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.

1 participant