summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-11-11 01:28:48 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-11-11 01:28:48 +0100
commit2cc8b3c389502b968aa14364c5a5e40accb8b028 (patch)
treec47b8eff85714498f3ddddc55f31abd4c2ca1476 /api
parente1716ee419c218f879c046917eaeb1e566230b0e (diff)
Reduce trace sampling rate
This change reduces the trace sampling rate of the Sentry SDK to prevent reaching the limits of the free Sentry subscription.
Diffstat (limited to 'api')
-rwxr-xr-xapi/main.py2
1 files changed, 1 insertions, 1 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