Skip to content

Commit

Permalink
ci: reduced Sentry frequency on CircleCI develop (#27912)
Browse files Browse the repository at this point in the history
## **Description**

Cut in half Sentry frequency on CircleCI develop

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27912?quickstart=1)

## **Related issues**
## **Manual testing steps**
## **Screenshots/Recordings**
## **Pre-merge author checklist**
## **Pre-merge reviewer checklist**
  • Loading branch information
HowardBraham authored Oct 21, 2024
1 parent 7d376e4 commit f995e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/lib/setupSentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function getTracesSampleRate(sentryTarget) {
// Report very frequently on develop branch, and never on other branches
// (Unless you use a `flags = {"sentry": {"tracesSampleRate": x.xx}}` override)
if (flags.circleci.branch === 'develop') {
return 0.03;
return 0.015;
}
return 0;
}
Expand Down

0 comments on commit f995e3c

Please sign in to comment.