diff options
author | 2023-12-11 17:00:45 +0000 | |
---|---|---|
committer | 2023-12-11 17:09:33 +0000 | |
commit | 6ec6fffc9283b1051b4f90a84cd85aea8e457609 (patch) | |
tree | 951d3a87825ea3c54ec728ea72e804b2e2844643 /pydis_site/settings.py | |
parent | Log 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.py | 3 |
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, ...) |