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
Remove the advanced recording configuration options as we want greater control over how recording should be done. The SDK API will be changed at a later point so that these options will not be passed. Instead we will provide good defaults that shouldnt need to be configured.
| stickySession | boolean |`true`| Keep track of the user across page loads. Note, a single user using multiple tabs will result in multiple sessions. Closing a tab will result in the session being closed as well. |
28
28
29
-
## Optimization Configuration
30
-
31
-
The following options can be configured as options to the integration, in `new Replay({})`:
| collectFonts | boolean |`false`| Should collect fonts used on the website |
36
-
| inlineImages | boolean |`false`| Should inline `<image>` content |
37
-
| inlineStylesheet | boolean |`true`| Should inline stylesheets used in the recording |
38
-
39
29
## Identifying Users
40
30
41
31
You can use the Sentry SDK to set the user of a session. To associate a user identity to a session replay, refer to the <PlatformLinkto="/enriching-events/identify-user">Identifying User Docs</PlatformLink>.
@@ -44,16 +34,6 @@ You can use the Sentry SDK to set the user of a session. To associate a user ide
In addition to the options described above, you can also directly pass configuration to [rrweb](https://github.com/rrweb-io/rrweb/blob/rrweb%401.1.3/guide.md), which is the underlying library used to make the recordings:
50
-
51
-
```javascript
52
-
newReplay({
53
-
// any further configuration here is passed directly to rrweb
54
-
});
55
-
```
56
-
57
37
## Start and Stop Recording
58
38
59
39
Replay recording only starts automatically when it's included in the integrations key when calling `Sentry.init`. Otherwise, you can initialize the plugin and manually call the `start()` method on the integration instance. To stop recording you can call the `stop()`:
0 commit comments