diff options
author | 2024-04-14 13:19:08 +0100 | |
---|---|---|
committer | 2024-04-14 13:19:08 +0100 | |
commit | 051d38ff76f3fae6b5dc75fe706e66812b323145 (patch) | |
tree | bb2eab828e67075094e8ed58673c13b30d2b688a | |
parent | Bump ruff from 0.3.5 to 0.3.7 (#1511) (diff) |
Replace sentry experiment with standard version and add AsyncioIntegration (#1512)
-rw-r--r-- | bot/log.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, ) |