Skip to content

Commit

Permalink
Reduce Sentry Replay value to only errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brown-a2 committed Nov 17, 2023
1 parent 7700e52 commit b60be33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opt/scripts/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ wp config set WP_SENTRY_ENV "\$_SERVER['WP_ENVIRONMENT_TYPE']" --raw
wp config set WP_SENTRY_BROWSER_ADMIN_ENABLED true --raw
wp config set WP_SENTRY_BROWSER_LOGIN_ENABLED true --raw
wp config set WP_SENTRY_BROWSER_FRONTEND_ENABLED true --raw
wp config set WP_SENTRY_BROWSER_TRACES_SAMPLE_RATE "0.3" --raw # sample ~30% of traffic
wp config set WP_SENTRY_BROWSER_REPLAYS_SESSION_SAMPLE_RATE "0.1" --raw
wp config set WP_SENTRY_BROWSER_TRACES_SAMPLE_RATE "0.2" --raw # sample ~30% of traffic
wp config set WP_SENTRY_BROWSER_REPLAYS_ON_ERROR_SAMPLE_RATE "1.0" --raw

#WP core install
Expand Down

0 comments on commit b60be33

Please sign in to comment.