From 2bdda8454ed89355fd9b727c09bb976a2eb88a90 Mon Sep 17 00:00:00 2001 From: LucasZF Date: Tue, 14 Feb 2023 00:36:13 +0900 Subject: [PATCH] chore(replay): Update `README.md` sample rate default values (#7162) 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/replay/README.md b/packages/replay/README.md index a5cc8c8e2ef4..8bb09c498fcd 100644 --- a/packages/replay/README.md +++ b/packages/replay/README.md @@ -151,8 +151,8 @@ 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. +| 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