Skip to content

Commit c8500b9

Browse files
committed
Add ayncio and redis sentry integrations
1 parent c649dac commit c8500b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bot/log.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
import sentry_sdk
55
from pydis_core.utils.logging import TRACE_LEVEL, get_logger, log_format
6+
from sentry_sdk.integrations.asyncio import AsyncioIntegration
67
from sentry_sdk.integrations.logging import LoggingIntegration
8+
from sentry_sdk.integrations.redis import RedisIntegration
79

810
from bot.constants import Bot, GIT_SHA
911

@@ -31,6 +33,8 @@ def setup_sentry() -> None:
3133
dsn=Bot.sentry_dsn,
3234
integrations=[
3335
sentry_logging,
36+
RedisIntegration(),
37+
AsyncioIntegration(),
3438
],
3539
release=f"sir-robin@{GIT_SHA}",
3640
traces_sample_rate=0.5,

0 commit comments

Comments
 (0)