From 051d38ff76f3fae6b5dc75fe706e66812b323145 Mon Sep 17 00:00:00 2001 From: wookie184 Date: Sun, 14 Apr 2024 13:19:08 +0100 Subject: Replace sentry experiment with standard version and add AsyncioIntegration (#1512) --- bot/log.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/log.py b/bot/log.py index 9ebc89a7..d8b798e6 100644 --- a/bot/log.py +++ b/bot/log.py @@ -7,6 +7,7 @@ from pathlib import Path import coloredlogs import sentry_sdk from pydis_core.utils import logging as core_logging +from sentry_sdk.integrations.asyncio import AsyncioIntegration from sentry_sdk.integrations.logging import LoggingIntegration from sentry_sdk.integrations.redis import RedisIntegration @@ -62,13 +63,12 @@ def setup_sentry() -> None: dsn=Client.sentry_dsn, integrations=[ sentry_logging, + AsyncioIntegration(), RedisIntegration(), ], release=f"bot@{GIT_SHA}", traces_sample_rate=0.5, - _experiments={ - "profiles_sample_rate": 0.5, - }, + profiles_sample_rate=0.5, ) -- cgit v1.2.3