aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-12-11 17:00:45 +0000
committerGravatar Chris Lovering <[email protected]>2023-12-11 17:09:33 +0000
commit6ec6fffc9283b1051b4f90a84cd85aea8e457609 (patch)
tree951d3a87825ea3c54ec728ea72e804b2e2844643 /pydis_site/settings.py
parentLog a warning when being ratelimtted by Github (diff)
Enable Sentry profile sampling
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py3
1 files changed, 2 insertions, 1 deletions
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, ...)