aioworkers plugin to work with Sentry. Creates Sentry client and handler according configuration and setup logging.
Install plugin:
pip install aioworkers-sentry
Add to your config:
sentry:
dsn: <your sentry dsn>
release: 1.0.0
environment: DEV
integrations:
- sentry_sdk.integrations.aiohttp.AioHttpIntegration
Check code:
hatch run lint:all
Format code:
hatch run lint:fmt
Run tests:
hatch run pytest
Run tests with coverage:
hatch run cov