From 6ec6fffc9283b1051b4f90a84cd85aea8e457609 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 11 Dec 2023 17:00:45 +0000 Subject: Enable Sentry profile sampling --- pydis_site/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pydis_site') diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 61713c5c..ec8efac3 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -54,7 +54,8 @@ if not STATIC_BUILD: dsn=env('SITE_DSN'), integrations=[DjangoIntegration(), LoggingIntegration(level=logging.DEBUG, event_level=logging.ERROR)], send_default_pii=True, - release=f"site@{GIT_SHA}" + release=f"site@{GIT_SHA}", + profiles_sample_rate=0.5, ) # Build paths inside the project like this: os.path.join(BASE_DIR, ...) -- cgit v1.2.3