Skip to content

Commit

Permalink
Merge pull request #144 from ministryofjustice/sentry-patch
Browse files Browse the repository at this point in the history
Reduce Sentry Replay value to only errors
  • Loading branch information
brown-a2 authored Nov 17, 2023
2 parents 7700e52 + b60be33 commit 6401c51
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 6401c51

Please sign in to comment.