File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Select which Sentry features you'd like to install in addition to Error Monitori
3434 id: ' profiling' ,
3535 checked: false
3636 },
37+ ' session-replay'
3738 ]}
3839/>
3940
@@ -74,7 +75,7 @@ The wizard will prompt you to log in to Sentry. It'll then automatically do the
7475Configuration is done via the application ` AndroidManifest.xml ` . Here's an example config which should get you started:
7576
7677
77- ``` xml {filename:AndroidManifest.xml} {"onboardingOptions": {"performance": "6-7", "profiling": "8-9"}}
78+ ``` xml {filename:AndroidManifest.xml} {"onboardingOptions": {"performance": "6-7", "profiling": "8-9", "session-replay": "10-12" }}
7879<application >
7980 <!-- Required: set your sentry.io project identifier (DSN) -->
8081 <meta-data android : name =" io.sentry.dsn" android : value =" ___PUBLIC_DSN___" />
@@ -84,6 +85,9 @@ Configuration is done via the application `AndroidManifest.xml`. Here's an examp
8485 <meta-data android : name =" io.sentry.traces.sample-rate" android : value =" 1.0" />
8586 <!-- enable profiling when starting transactions, adjust in production env -->
8687 <meta-data android : name =" io.sentry.traces.profiling.sample-rate" android : value =" 1.0" />
88+ <!-- record session replays for 100% of errors and 10% of sessions -->
89+ <meta-data android : name =" io.sentry.session-replay.on-error-sample-rate" android : value =" 1.0" />
90+ <meta-data android : name =" io.sentry.session-replay.session-sample-rate" android : value =" 0.1" />
8791</application >
8892```
8993
Original file line number Diff line number Diff line change @@ -48,10 +48,15 @@ Configuration is done via the application `AndroidManifest.xml`. Here's an examp
4848
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" />
51+
5152 <!-- enable profiling when starting transactions, adjust in production env -->
5253 <meta-data android : name =" io.sentry.traces.profiling.sample-rate" android : value =" 1.0" />
5354 <!-- enable app start profiling -->
5455 <meta-data android : name =" io.sentry.traces.profiling.enable-app-start" android : value =" true" />
56+
57+ <!-- record session replays for 100% of errors and 10% of sessions -->
58+ <meta-data android : name =" io.sentry.session-replay.on-error-sample-rate" android : value =" 1.0" />
59+ <meta-data android : name =" io.sentry.session-replay.session-sample-rate" android : value =" 0.1" />
5560</application >
5661```
5762
You can’t perform that action at this time.
0 commit comments