aioworkers-sentry

aioworkers plugin for Sentry


Keywords
aioworkers, sentry, python
License
Apache-2.0
Install
pip install aioworkers-sentry==0.6

Documentation

aioworkers-sentry

Coverage Code style: ruff Code style: black Code style: Mypy Documentation Status Python versions Hatch project

aioworkers plugin to work with Sentry. Creates Sentry client and handler according configuration and setup logging.

Usage

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

Development

Check code:

hatch run lint:all

Format code:

hatch run lint:fmt

Run tests:

hatch run pytest

Run tests with coverage:

hatch run cov