Skip to main content

aioworkers plugin for Sentry

Project description

https://img.shields.io/pypi/v/aioworkers-sentry.svg https://github.com/aioworkers/aioworkers-sentry/workflows/Tests/badge.svg Coverage Code style: ruff Code style: black Code style: Mypy Documentation Status Python versions https://img.shields.io/pypi/dm/aioworkers-sentry.svg 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioworkers_sentry-0.6.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

aioworkers_sentry-0.6-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page