You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/flutter/session-replay/index.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Set Up Session Replay
3
3
sidebar_order: 5500
4
4
notSupported:
5
-
description: "Learn how to enable the Beta of Mobile Session Replay in your app."
5
+
description: "Learn how to enable the Mobile Session Replay Beta in your app."
6
6
---
7
7
8
8
<Note>
@@ -27,9 +27,9 @@ dependencies:
27
27
sentry_flutter: ^8.9.0
28
28
```
29
29
30
-
## Set Up
30
+
## Setup
31
31
32
-
To set up the integration, add the following to your Sentry initialization.
32
+
To set up the integration, add the following to your Sentry initialization:
33
33
34
34
```dart
35
35
await SentryFlutter.init(
@@ -53,13 +53,13 @@ Once testing is complete, **we recommend lowering this value in production**. We
53
53
Sampling allows you to control how much of your website's traffic will result in a Session Replay. There are two sample rates you can adjust to get the replays relevant to you:
54
54
55
55
1. <PlatformIdentifiername="replays-session-sample-rate" /> - The sample rate for
56
-
replays that begin recording immediately and last the entirety of the user's session.
56
+
replays that begin recording immediately and last the entirety of a user's session.
57
57
2. <PlatformIdentifiername="replays-on-error-sample-rate" /> - The sample rate for
58
58
replays that are recorded when an error happens. This type of replay will record
59
59
up to a minute of events prior to the error and continue recording until the session
60
60
ends.
61
61
62
-
Sampling begins as soon as a session starts. <PlatformIdentifiername="replays-session-sample-rate" /> is evaluated first. If it's sampled, the replay recording will begin. Otherwise, <PlatformIdentifiername="replays-on-error-sample-rate" /> is evaluated and if it's sampled, the integration will begin buffering the replay and will only upload it to Sentry if an error occurs. The remainder of the replay will behave similarly to a whole-session replay.
62
+
Sampling starts as soon as a session begins. The <PlatformIdentifiername="replays-session-sample-rate" /> is then evaluated. If the session is sampled, replay recording will start immediately. If not, <PlatformIdentifiername="replays-on-error-sample-rate" /> will be evaluated. If the session is sampled at this point, the replay will be buffered and will only be uploaded to Sentry if an error occurs.
63
63
64
64
## Privacy
65
65
@@ -77,11 +77,11 @@ or you can even have a callback to decide whether a specific widget instance sho
77
77
: SentryMaskingDecision.continueProcessing);
78
78
```
79
79
80
-
You can find more details in respective methods' code documentation.
80
+
You can find more details in the documentation for each method.
81
81
82
82
<Note>
83
83
84
-
If you encounter any data not being redacted with the default settings, please let us know through a [GitHub issue](https://github.com/getsentry/sentry-dart/issues/new?template=BUG_REPORT.yml).
84
+
If you find that data isn't being redacted with the default settings, please let us know by creating a [GitHub issue](https://github.com/getsentry/sentry-dart/issues/new?template=BUG_REPORT.yml).
0 commit comments