Redis
(New in version 0.10.0)
The Redis integration hooks into the Redis client for Python and logs all Redis commands as breadcrumbs.
Copied
import sentry_sdk
from sentry_sdk.integrations.redis import RedisIntegration
sentry_sdk.init(
dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
integrations=[RedisIntegration()]
)
- Package:
- pypi:sentry-sdk
- Version:
- 2.12.0
- Repository:
- https://github.com/getsentry/sentry-python