A Sentry support plugin for Django Q
Project description
django-q-sentry
A Django Q Error Reporter plugin adding Sentry support.
Before version 0.1.3 sentry raven was a dependency. After 0.1.3 sentry-sdk used as raven is being deprecated.
Installation
This plugin is intended to be included with Django Q as setuptools extra.
$ pip install django-q[sentry]
Or add django-q[sentry]
to requirements.txt
.
This plugin requires Django Q version 0.8.1 or greater.
Usage
Configure Sentry via the Django Q Q_CLUSTER
dictionary in your Django project's settings.py
. It is important that the sentry
key be set in the error_reporter
dictionary, as this name aligns with the project's entry point for this plugin. The only required configuration entry is your Sentry DSN.
Q_CLUSTER = {
'error_reporter': {
'sentry': {
'dsn': 'https://******@sentry.io/<project>'
}
}
}
Please check the python sentry client configuration docs for more options. Additional key-value pairs defined in Q_CLUSTER['error_reporter']['sentry']
are passed directly as kwargs to instantiation of raven.Client
.
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
Built Distribution
Hashes for django_q_sentry-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d7870c40194be4e610d9a19bd310477421349be30410f7f26dfbf4e3b93d3b |
|
MD5 | 9615a953851b58831747015fbeaf3c39 |
|
BLAKE2b-256 | db28f748d34f8e4d647a6ce99dc00207c59122787c858fe35ddf12395567eb7e |