From e3d580268f2e4862015c9439c4a2e426ffc7a519 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Tue, 17 Sep 2024 13:52:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(sentry)=20reduce=20sentry=20traces?= =?UTF-8?q?=5Fsample=5Frate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit traces_samples_rates was set to 1, thus sending every transaction to sentry --- src/backend/people/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/people/settings.py b/src/backend/people/settings.py index 9f5989673..efb299c42 100755 --- a/src/backend/people/settings.py +++ b/src/backend/people/settings.py @@ -478,7 +478,7 @@ def post_setup(cls): environment=cls.__name__.lower(), release=get_release(), integrations=[DjangoIntegration()], - traces_sample_rate=1.0, + traces_sample_rate=0.1, ) with sentry_sdk.configure_scope() as scope: scope.set_extra("application", "backend")