File tree 2 files changed +10
-1
lines changed
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
34
34
id: ' profiling' ,
35
35
checked: false
36
36
},
37
+ ' session-replay'
37
38
]}
38
39
/>
39
40
@@ -74,7 +75,7 @@ The wizard will prompt you to log in to Sentry. It'll then automatically do the
74
75
Configuration is done via the application ` AndroidManifest.xml ` . Here's an example config which should get you started:
75
76
76
77
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" }}
78
79
<application >
79
80
<!-- Required: set your sentry.io project identifier (DSN) -->
80
81
<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
84
85
<meta-data android : name =" io.sentry.traces.sample-rate" android : value =" 1.0" />
85
86
<!-- enable profiling when starting transactions, adjust in production env -->
86
87
<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" />
87
91
</application >
88
92
```
89
93
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
48
48
49
49
<!-- enable the performance API by setting a sample-rate, adjust in production env -->
50
50
<meta-data android : name =" io.sentry.traces.sample-rate" android : value =" 1.0" />
51
+
51
52
<!-- enable profiling when starting transactions, adjust in production env -->
52
53
<meta-data android : name =" io.sentry.traces.profiling.sample-rate" android : value =" 1.0" />
53
54
<!-- enable app start profiling -->
54
55
<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" />
55
60
</application >
56
61
```
57
62
You can’t perform that action at this time.
0 commit comments