A Sentry support plugin for Django Q
Project description
VSUITE Stored fork of library
To be used until author updates pypi package
This is necessitated by change of raven-sentry to sentry-sdk Raven is being deprecated. VSUITE already uses sentry-sdk so now we ship two libraries for the same thing.
django-q-sentry
A Django Q Error Reporter plugin adding Sentry support.
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.