Skip to content

Commit 265736d

Browse files
author
Karl Heinz Struggl
committed
perfv2 snippet line highlights
1 parent 8d652ed commit 265736d

File tree

1 file changed

+6
-4
lines changed
  • docs/platforms/android/tracing/instrumentation

1 file changed

+6
-4
lines changed

docs/platforms/android/tracing/instrumentation/perf-v2.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,28 @@ Since version 8 of the SDK, Performance V2 is generally available and enabled by
1010

1111
### Enabling Performance V2
1212

13-
```java {filename:MyApplication.java}
13+
```java {filename:MyApplication.java} {4}
1414
import io.sentry.android.core.SentryAndroid;
1515

1616
SentryAndroid.init(this, options -> {
1717
options.setEnablePerformanceV2(true);
1818
});
1919
```
2020

21-
```kotlin {filename:MyApplication.kt}
21+
```kotlin {filename:MyApplication.kt} {4}
2222
import io.sentry.android.core.SentryAndroid
2323

2424
SentryAndroid.init(this) { options ->
2525
options.enablePerformanceV2 = true
2626
}
2727
```
2828

29-
```xml {filename:AndroidManifest.xml}
29+
```xml {filename:AndroidManifest.xml} {3-5}
3030
<manifest>
3131
<application>
32-
<meta-data android:name="io.sentry.performance-v2.enable" android:value="true" />
32+
<meta-data
33+
android:name="io.sentry.performance-v2.enable"
34+
android:value="true" />
3335
</application>
3436
</manifest>
3537
```

0 commit comments

Comments
 (0)