diff --git a/docs/platforms/android/tracing/instrumentation/perf-v2.mdx b/docs/platforms/android/tracing/instrumentation/perf-v2.mdx index 53197587aab0ca..83bc587a0dd146 100644 --- a/docs/platforms/android/tracing/instrumentation/perf-v2.mdx +++ b/docs/platforms/android/tracing/instrumentation/perf-v2.mdx @@ -4,18 +4,13 @@ sidebar_order: 11 description: "Learn how to get even more insights into Android app performance" --- - +Performance V2 contains a set of features that enrich performance instrumentation. It tightly integrates with the [Mobile Vitals](/product/insights/mobile/mobile-vitals/) Insights module, enabling App Start and Frames Delay reporting. -This feature is marked as _experimental_. -Supported in Sentry's Android SDK version `7.4.0` and above. - - - -Performance V2 is a set of features which enrich your existing instrumentation, giving you more insights into potential performance bottlenecks. These features tightly integrate with the [Mobile Vitals](/product/insights/mobile/mobile-vitals/) insights module. +Since version 8 of the SDK, Performance V2 is generally available and enabled by default. In versions `7.4.0..<8.0.0`, this feature is available as _experimental_ and you need to opt in to use it: ### Enabling Performance V2 -```java {filename:MyApplication.java} +```java {filename:MyApplication.java} {4} import io.sentry.android.core.SentryAndroid; SentryAndroid.init(this, options -> { @@ -23,7 +18,7 @@ SentryAndroid.init(this, options -> { }); ``` -```kotlin {filename:MyApplication.kt} +```kotlin {filename:MyApplication.kt} {4} import io.sentry.android.core.SentryAndroid SentryAndroid.init(this) { options -> @@ -31,17 +26,19 @@ SentryAndroid.init(this) { options -> } ``` -```xml {filename:AndroidManifest.xml} +```xml {filename:AndroidManifest.xml} {3-5} - + ``` ### App Start -Besides enabling performance-v2, this feature requires the Sentry Android Gradle Plugin (version `4.2.0` or above) to be applied to your app module. +Besides enabling Performance V2, this feature requires the Sentry Android Gradle Plugin (version `4.2.0` or above) to be applied to your app module. Once enabled, your App Start transaction will show a detailed span breakdown of various components: * `process.load`: The process initialization time