aioworkers plugin for Sentry
Project description
aioworkers plugin to work with Sentry. Creates Sentry client and handler according configuration and setup logging.
Usage
Basic config example:
sentry:
cls: aioworkers_sentry.client.Sentry
dsn: <your sentry dsn>
handler:
level: ERROR
tags:
env: PROD
transport:
workers: 1
qsize: 500
Or:
logging:
version: 1
root:
handlers: [console,sentry]
handlers:
console:
level: DEBUG
class: logging.StreamHandler
sentry:
dsn: <your sentry dsn>
level: ERROR
transport:
workers: 1
qsize: 500
environment: production
release: 1.0.0
tags:
env: PROD
Development
Install dev requirements:
pipenv install --dev --skip-lock
Run tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.