diff options
author | 2023-03-21 21:08:50 +0000 | |
---|---|---|
committer | 2023-03-21 21:08:50 +0000 | |
commit | 7904d9befddc22648e2ab47b1ba639339bffa8b5 (patch) | |
tree | 2992aa337d043ece44d43e640a6a2b0ac035df42 | |
parent | Bump sentry-sdk from 1.16.0 to 1.17.0 (#2474) (diff) |
Enable sentry profiling (#2478)
Co-authored-by: Xithrius <[email protected]>
-rw-r--r-- | bot/log.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/log.py b/bot/log.py index 100cd06f6..236031f25 100644 --- a/bot/log.py +++ b/bot/log.py @@ -98,7 +98,11 @@ def setup_sentry() -> None: sentry_logging, RedisIntegration(), ], - release=f"bot@{constants.GIT_SHA}" + release=f"bot@{constants.GIT_SHA}", + traces_sample_rate=0.5, + _experiments={ + "profiles_sample_rate": 0.5, + }, ) |