From 40876dac4d2787f3c06bf335c6ce2d3c1dbae2a2 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Mon, 24 Jul 2023 18:35:56 -0400 Subject: [PATCH] replay: minReplayDuration https://github.com/getsentry/sentry-javascript/pull/8596 --- 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..063c78c20fdfb 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 flushing 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. |