File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
docs/platforms/android/manual-setup
platform-includes/logs/setup Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,12 @@ Configuration is done via the application `AndroidManifest.xml`. Here's an examp
4949 <!-- enable the performance API by setting a sample-rate, adjust in production env -->
5050 <meta-data android : name =" io.sentry.traces.sample-rate" android : value =" 1.0" />
5151
52- <!-- enable profiling when starting transactions, adjust in production env -->
53- <meta-data android : name =" io.sentry.traces.profiling.sample-rate" android : value =" 1.0" />
54- <!-- enable app start profiling -->
55- <meta-data android : name =" io.sentry.traces.profiling.enable-app-start" android : value =" true" />
52+ <!-- Enable UI profiling, adjust in production env. This is evaluated only once per session -->
53+ <meta-data android : name =" io.sentry.traces.profiling.session-sample-rate" android : value =" 1.0" />
54+ <!-- Set profiling mode. For more info see https://docs.sentry.io/platforms/android/profiling/#enabling-ui-profiling -->
55+ <meta-data android : name =" io.sentry.traces.profiling.lifecycle" android : value =" trace" />
56+ <!-- Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes -->
57+ <meta-data android : name =" io.sentry.traces.profiling.start-on-app-start" android : value =" true" />
5658
5759 <!-- record session replays for 100% of errors and 10% of sessions -->
5860 <meta-data android : name =" io.sentry.session-replay.on-error-sample-rate" android : value =" 1.0" />
Original file line number Diff line number Diff line change @@ -32,3 +32,7 @@ class MyApplication : Application() {
3232 }
3333}
3434```
35+
36+ ``` XML {filename:AndroidManifest.xml}
37+ <meta-data android : name =" io.sentry.logs.enabled" android : value =" true" />
38+ ```
You can’t perform that action at this time.
0 commit comments