aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-03-21 21:08:50 +0000
committerGravatar GitHub <[email protected]>2023-03-21 21:08:50 +0000
commit7904d9befddc22648e2ab47b1ba639339bffa8b5 (patch)
tree2992aa337d043ece44d43e640a6a2b0ac035df42
parentBump 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.py6
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,
+ },
)