Skip to content

Update Replay README.md wrong default values #6291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

lucas-zimerman
Copy link
Collaborator

getsentry/sentry-javascript#6878 altered on version 7.33.0 the default to 0 but the docs still point as if the default was 1.0

@lucas-zimerman lucas-zimerman requested review from a team February 13, 2023 15:07
@vercel
Copy link

vercel bot commented Feb 13, 2023

@lucas-zimerman is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good catch!

@@ -17,7 +17,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` collects all replays, and `0` collects none. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be zero as well.

Suggested change
| replaysSessionSampleRate | number | `0.1` | The sample rate for replays that begin recording immediately and last the entirety of the user's session. `1.0` collects all replays, and `0` collects none. |
| replaysSessionSampleRate | number | `0` | The sample rate for replays that begin recording immediately and last the entirety of the user's session. `1.0` collects all replays, and `0` collects none. |

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have just fixed it 😅

@lucas-zimerman lucas-zimerman changed the title Update Replay README.md wrong default value for replaysOnErrorSampleRate Update Replay README.md wrong default values Feb 13, 2023
@bruno-garcia bruno-garcia merged commit 83a4b2c into getsentry:master Feb 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants