From f5d31b14fdd637e92a0331f5b14014489c003098 Mon Sep 17 00:00:00 2001 From: LucasZF Date: Tue, 14 Feb 2023 00:01:42 +0900 Subject: [PATCH 1/2] Update README.md https://github.com/getsentry/sentry-javascript/pull/6878 altered on version 7.33.0 the default to 0 but the docs still point as if the default was 1.0 --- packages/replay/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/replay/README.md b/packages/replay/README.md index a5cc8c8e2ef4..47fdc7633a8c 100644 --- a/packages/replay/README.md +++ b/packages/replay/README.md @@ -152,7 +152,7 @@ The following options can be configured on the root level of your browser-based | key | type | default | description | | ------------------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | replaysSessionSampleRate | number | `0.1` | The sample rate for replays that begin recording immediately and last the entirety of the user's session. 1.0 will collect all replays, 0 will collect no replays. | -| replaysOnErrorSampleRate | number | `1.0` |The sample rate for replays that are recorded when an error happens. This type of replay will record up to a minute of events prior to the error and continue recording until the session ends. 1.0 capturing all sessions with an error, and 0 capturing none. +| replaysOnErrorSampleRate | number | `0` |The sample rate for replays that are recorded when an error happens. This type of replay will record up to a minute of events prior to the error and continue recording until the session ends. 1.0 capturing all sessions with an error, and 0 capturing none. ### General Integration Configuration From a03b103c8433a488495754fa3956aa12352f2778 Mon Sep 17 00:00:00 2001 From: LucasZF Date: Tue, 14 Feb 2023 00:21:56 +0900 Subject: [PATCH 2/2] update defaults for sample rate --- packages/replay/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/replay/README.md b/packages/replay/README.md index 47fdc7633a8c..8bb09c498fcd 100644 --- a/packages/replay/README.md +++ b/packages/replay/README.md @@ -151,7 +151,7 @@ The following options can be configured on the root level of your browser-based | key | type | default | description | | ------------------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| replaysSessionSampleRate | number | `0.1` | The sample rate for replays that begin recording immediately and last the entirety of the user's session. 1.0 will collect all replays, 0 will collect no replays. | +| replaysSessionSampleRate | number | `0` | The sample rate for replays that begin recording immediately and last the entirety of the user's session. 1.0 will collect all replays, 0 will collect no replays. | | replaysOnErrorSampleRate | number | `0` |The sample rate for replays that are recorded when an error happens. This type of replay will record up to a minute of events prior to the error and continue recording until the session ends. 1.0 capturing all sessions with an error, and 0 capturing none. ### General Integration Configuration