From 879460adaf301348654d70267750d8e3938cadee Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Thu, 11 Aug 2022 19:18:30 +0200 Subject: [PATCH] Fix performance tracking for sentry and lower samplerate --- api/config/settings/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/config/settings/common.py b/api/config/settings/common.py index e46e60b6a..743d129a7 100644 --- a/api/config/settings/common.py +++ b/api/config/settings/common.py @@ -26,9 +26,10 @@ if env("FUNKWHALE_SENTRY_DSN", default=None) is not None: sentry_sdk.init( dsn=env("FUNKWHALE_SENTRY_DSN"), integrations=[DjangoIntegration()], - traces_sample_rate=env("FUNKWHALE_SENTRY_SR", default="1.0"), + traces_sample_rate=env("FUNKWHALE_SENTRY_SR", default=0.25), send_default_pii=False, environment="api", + debug=True ) """