diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-11 01:30:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-11 01:30:38 +0100 |
| commit | d504a39748d985d4c50146dcf84f3b38f0ca0987 (patch) | |
| tree | c47b8eff85714498f3ddddc55f31abd4c2ca1476 | |
| parent | e1716ee419c218f879c046917eaeb1e566230b0e (diff) | |
| parent | 2cc8b3c389502b968aa14364c5a5e40accb8b028 (diff) | |
Merge pull request #63 from atlarge-research/refactor/tx-limit
Reduce trace sampling rate
| -rwxr-xr-x | api/main.py | 2 | ||||
| -rw-r--r-- | frontend/src/index.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/main.py b/api/main.py index ba79d9ce..5c6dac31 100755 --- a/api/main.py +++ b/api/main.py @@ -28,7 +28,7 @@ if 'SENTRY_DSN' in os.environ: sentry_sdk.init( integrations=[FlaskIntegration()], - traces_sample_rate=0.5 + traces_sample_rate=0.1 ) # Set up database if not testing diff --git a/frontend/src/index.js b/frontend/src/index.js index fe119dfb..3517147e 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -17,7 +17,7 @@ setupSocketConnection(() => { environment: process.env.NODE_ENV, dsn: process.env.REACT_APP_SENTRY_DSN, integrations: [new Integrations.BrowserTracing()], - tracesSampleRate: 0.5, + tracesSampleRate: 0.1, }) } |
