From 40876dac4d2787f3c06bf335c6ce2d3c1dbae2a2 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Mon, 24 Jul 2023 18:35:56 -0400 Subject: [PATCH 1/4] 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. | From e973390af9350852a74c5cb1a20c771ffe668265 Mon Sep 17 00:00:00 2001 From: "getsantry[bot]" <66042841+getsantry[bot]@users.noreply.github.com> Date: Mon, 24 Jul 2023 22:38:16 +0000 Subject: [PATCH 2/4] style(lint): Auto commit lint changes --- .../javascript/common/session-replay/configuration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/javascript/common/session-replay/configuration.mdx b/src/platforms/javascript/common/session-replay/configuration.mdx index 063c78c20fdfb..a19160f3bb6ca 100644 --- a/src/platforms/javascript/common/session-replay/configuration.mdx +++ b/src/platforms/javascript/common/session-replay/configuration.mdx @@ -25,7 +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. +| 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. | From 13859b9565806a18a0eb7585acfa23f5c42efb8b Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Tue, 25 Jul 2023 12:38:22 -0400 Subject: [PATCH 3/4] Update src/platforms/javascript/common/session-replay/configuration.mdx --- .../javascript/common/session-replay/configuration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/javascript/common/session-replay/configuration.mdx b/src/platforms/javascript/common/session-replay/configuration.mdx index a19160f3bb6ca..fec04ee683a2a 100644 --- a/src/platforms/javascript/common/session-replay/configuration.mdx +++ b/src/platforms/javascript/common/session-replay/configuration.mdx @@ -25,7 +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. | +| 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. | From a785bb7b63f997face6cd481c93b94ee7243dcff Mon Sep 17 00:00:00 2001 From: "getsantry[bot]" <66042841+getsantry[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:40:02 +0000 Subject: [PATCH 4/4] style(lint): Auto commit lint changes --- .../javascript/common/session-replay/configuration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/javascript/common/session-replay/configuration.mdx b/src/platforms/javascript/common/session-replay/configuration.mdx index fec04ee683a2a..12a3f10ae5e9b 100644 --- a/src/platforms/javascript/common/session-replay/configuration.mdx +++ b/src/platforms/javascript/common/session-replay/configuration.mdx @@ -25,7 +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. | +| 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. |