A Rollbar support plugin for Django Q
Project description
django-q-rollbar
A Django Q Error Reporter plugin adding Rollbar support.
Installation
This plugin is intended to be included with Django Q as setuptools extra.
$ pip install django-q[rollbar]
Or add django-q[rollbar]
to requirements.txt
.
This plugin requires Django Q version 0.8.1 or greater. Earlier versions of Django Q can incorporate rollbar support via the
rollbar
key in theQ_CLUSTER
settings dictionary.
Usage
Configure Rollbar via the Django Q Q_CLUSTER
dictionary in your Django project's settings.py
. It is important that the rollbar
key be set in the error_reporter
dictionary, as this name aligns with the project's entry point for this plugin.
Q_CLUSTER = {
'error_reporter': {
'rollbar': {
'access_token': '32we33a92a5224jiww8982',
'environment': 'Django-Q'
}
}
}
Please check the Pyrollbar configuration reference for more options. Additional options defined in Q_CLUSTER
are passed directly as kwargs to Pyrollbar's rollbar.init
.
Of course, you will need a Rollbar account and access token to use this plugin.
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.
Source Distribution
File details
Details for the file django-q-rollbar-0.1.3.tar.gz
.
File metadata
- Download URL: django-q-rollbar-0.1.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.18rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4de6da294507e6cbde77a015ece429f3602ea1d8df473ef2d63e44d2041ee4b |
|
MD5 | 90058b58bd5cf599f768dd6237b6428f |
|
BLAKE2b-256 | 5a13e34c51f63279b6d52cd57f42e79c098e3f6eaa20421a7dc3a248630427c6 |