From 2cc8b3c389502b968aa14364c5a5e40accb8b028 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 11 Nov 2020 01:28:48 +0100 Subject: 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. --- api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/main.py') 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 -- cgit v1.2.3