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
Copy file name to clipboardExpand all lines: docs/platforms/android/tracing/instrumentation/automatic-instrumentation.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ _The Activity's instrumentation is enabled by default, but you may disable it by
26
26
</application>
27
27
```
28
28
29
-
The transaction finishes after each Activity's `onResume` method is executed.
29
+
The transaction finishes after each Activity's first frame is drawn.
30
30
31
31
_The transaction finishes automatically, but you may disable it by setting:_
32
32
@@ -131,7 +131,7 @@ The SDK differentiates between a cold and a warm start, but doesn't track hot st
131
131
132
132
The SDK sets the Span operation to `app.start.cold` for _Cold start_ and `app.start.warm` for _Warm start_.
133
133
134
-
The SDK uses the `SentryPerformanceProvider` (ContentProvider) creation time as the beginning of the app start and the first `Activity#onResume` call as the end.
134
+
The SDK uses the `SentryPerformanceProvider` (ContentProvider) creation time as the beginning of the app start and the first frame drawn as the end.
135
135
136
136
<Note>
137
137
@@ -278,7 +278,7 @@ If the view doesn't have the `id` assigned, the transaction won't be captured be
278
278
279
279
_(New in version 6.10.0)_
280
280
281
-
The SDK composes the transaction name out of the host `Activity` and the `tag` set by way of the `Modifier.sentryTag("<tag>")` of the `Composable` (for example, `LoginActivity.login_button`).
281
+
The SDK composes the transaction name out of the host `Activity` and the `tag` set by way of the `Modifier.sentryTag("<tag>")` of the `Composable` (for example, `LoginActivity.login_button`).
282
282
The transaction operation is set to `ui.action` plus the interaction type (one of `click`, `scroll`, or `swipe`).
283
283
284
284
```kotlin
@@ -299,7 +299,7 @@ fun LoginScreen() {
299
299
300
300
<Note>
301
301
302
-
If the `@Composable` doesn't have a `sentryTag` modifier applied, the transaction won't be captured because it can't be uniquely identified.
302
+
If the `@Composable` doesn't have a `sentryTag` modifier applied, the transaction won't be captured because it can't be uniquely identified.
303
303
To capture a transaction for the `@Composable`, you must either add a `sentryTag` modifier or enable automatic `@Composable` tagging.
304
304
305
305
</Note>
@@ -312,8 +312,8 @@ The Sentry Kotlin Compiler plugin is considered _experimental_. Give it a try an
312
312
313
313
</Note>
314
314
315
-
The <PlatformLinkto="/enhance-errors/kotlin-compiler-plugin/">Sentry Kotlin Compiler Plugin</PlatformLink> can automatically enrich your `@Composable` functions during compilation with a tag name,
316
-
based on the function name of your `@Composable`.
315
+
The <PlatformLinkto="/enhance-errors/kotlin-compiler-plugin/">Sentry Kotlin Compiler Plugin</PlatformLink> can automatically enrich your `@Composable` functions during compilation with a tag name,
316
+
based on the function name of your `@Composable`.
317
317
In order to use this feature, the Sentry Kotlin Compiler plugin needs to be applied to all modules, which contain `@Composable` elements.
0 commit comments