-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Reference https://docs.sentry.io/platforms/android/profiling/#enabling-manual-lifecycle-ui-profiling
Use
<!-- Enable UI profiling, adjust in production env. This is evaluated only once per session -->
<meta-data
android:name="io.sentry.traces.profiling.session-sample-rate"
android:value="1.0"
/>
<meta-data
android:name="io.sentry.traces.profiling.lifecycle"
android:value="manual"
/>
<!-- Enable profiling on app start. The app start profile has to be stopped through Sentry.stopProfiler() -->
<meta-data
android:name="io.sentry.traces.profiling.start-on-app-start"
android:value="true"
/>
to replace
android/app/src/main/AndroidManifest.xml
Lines 70 to 75 in 818da02
| <meta-data | |
| android:name="io.sentry.traces.profiling.enable" | |
| android:value="true" /> | |
| <meta-data | |
| android:name="io.sentry.traces.profiling.sample-rate" | |
| android:value="1.0" /> |
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done