Skip to content

Commit 990e4c6

Browse files
buenaflorclaude
andcommitted
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. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 2823497 commit 990e4c6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- The standalone transaction shares the same `traceId` as the first `ui.load` activity transaction so they remain linked in the trace view
1111
- Also covers non-activity starts (broadcast receivers, services, content providers)
1212
- On Android 15+ (API 35), the standalone 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()` ([#5552](https://github.com/getsentry/sentry-java/pull/5552))
13+
- When enabled, registers a `StandaloneAppStart` marker in the SDK metadata `integrations` ([#5552](https://github.com/getsentry/sentry-java/pull/5552))
1314

1415
### Improvements
1516

‎sentry-android-core/src/main/java/io/sentry/android/core/ActivityLifecycleIntegration.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public void register(final @NotNull IScopes scopes, final @NotNull SentryOptions
141141

142142
if (performanceEnabled && this.options.isEnableStandaloneAppStartTracing()) {
143143
AppStartMetrics.getInstance().setHeadlessAppStartListener(this::onHeadlessAppStart);
144+
addIntegrationToSdkVersion("StandaloneAppStart");
144145
}
145146

146147
this.options.getLogger().log(SentryLevel.DEBUG, "ActivityLifecycleIntegration installed.");

0 commit comments

Comments
 (0)