You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0c118e9
Browse filesBrowse the repository at this point in the historyBrowse files
feat(android): Report app start reason as app.vitals.start.reason on standalone app start transaction (#5552)
* feat(android): Report app start reason on standalone app start transaction
Read ApplicationStartInfo.getReason() (API 35+) and attach it as
app.start.reason trace data on the standalone app.start transaction
in both the foreground and headless paths.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feat(android): Register StandaloneAppStart SDK integration marker
Advertise that standalone app start tracing is active by adding a
StandaloneAppStart marker to the SDK metadata integrations when the
feature is enabled. Internal SDK metadata only.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs(changelog): Note app.start.reason is searchable in Trace Explorer
Address review feedback to mention that customers can search and group
by the app.vitals.start.reason attribute.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
- Emits a transaction named `App Start` with op `app.start`, carrying the existing app start measurements and phase spans (`process.load`, `contentprovider.load`, `application.load`, activity lifecycle spans) as direct children of the root
28
28
- The standalone transaction shares the same `traceId` as the first `ui.load` activity transaction so they remain linked in the trace view
29
29
- Also covers non-activity starts (broadcast receivers, services, content providers)
30
+
- On Android 15+ (API 35), the standalone `app.start` transaction reports why the OS started the process via `app.vitals.start.reason` trace data (e.g. `launcher`, `broadcast`, `service`, `content_provider`), derived from `ApplicationStartInfo.getReason()`. You can search and group by this attribute in the Trace Explorer. ([#5552](https://github.com/getsentry/sentry-java/pull/5552))
0 commit comments