From 12ad2201e0eaaa499e86e6ba9d292b5f6fd3e5f8 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Tue, 25 Jul 2023 12:45:32 -0400 Subject: [PATCH] replay: minReplayDuration (#7494) Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com> --- src/platforms/javascript/common/session-replay/configuration.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/javascript/common/session-replay/configuration.mdx b/src/platforms/javascript/common/session-replay/configuration.mdx index 5b125d73c0b47..12a3f10ae5e9b 100644 --- a/src/platforms/javascript/common/session-replay/configuration.mdx +++ b/src/platforms/javascript/common/session-replay/configuration.mdx @@ -25,6 +25,7 @@ The following can be configured as integration options in `new Replay({})`: | stickySession | boolean | `true` | Keep track of users across page loads. Note, because closing a tab ends the session, a single user using multiple tabs will be recorded as multiple sessions. | | mutationLimit | number | 10000 | The upper bound of mutations to process before Session Replay stops recording due to performance impacts. See [Mutation Limits](#mutation-limits) | | mutationBreadcrumbLimit | number | 750 | The upper bound of mutations to process before Session Replay sends a breadcrumb to warn of large mutations. See [Mutation Limits](#mutation-limits) | +| minReplayDuration | number | 5000 | The length of the replay, **in milliseconds**, before the SDK should start sending to Sentry. Max value is 15000. | | networkDetailAllowUrls | (string \| RegExp)[] | `[]` | Capture request and response details for XHR and fetch requests that match the given URLs. | | networkCaptureBodies | boolean | `true` | Decide whether to capture request and response bodies for URLs defined in `networkDetailAllowUrls`. | | networkRequestHeaders | string[] | `[]` | Additional request headers to capture for URLs defined in `networkDetailAllowUrls`. See [Network Details](#network-details) to learn more. |