A Rollbar support plugin for Django Q
Project description
# django-q-rollbar
A [Django Q](https://github.com/Koed00/django-q/) Error Reporter plugin adding [Rollbar](https://rollbar.com/) support.
### Installation
This plugin is intended to be included with Django Q as [setuptools extra](https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies).
`$ 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 the `Q_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.
```python
Q_CLUSTER = {
'error_reporter': {
'rollbar': {
'access_token': '32we33a92a5224jiww8982',
'environment': 'Django-Q'
}
}
}
```
Please check the [Pyrollbar configuration reference](https://rollbar.com/docs/notifier/pyrollbar/) 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.
A [Django Q](https://github.com/Koed00/django-q/) Error Reporter plugin adding [Rollbar](https://rollbar.com/) support.
### Installation
This plugin is intended to be included with Django Q as [setuptools extra](https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies).
`$ 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 the `Q_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.
```python
Q_CLUSTER = {
'error_reporter': {
'rollbar': {
'access_token': '32we33a92a5224jiww8982',
'environment': 'Django-Q'
}
}
}
```
Please check the [Pyrollbar configuration reference](https://rollbar.com/docs/notifier/pyrollbar/) 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
Built Distribution
File details
Details for the file django-q-rollbar-0.1.1.tar.gz
.
File metadata
- Download URL: django-q-rollbar-0.1.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31bd30fbdd8934e626a6ac61faf36cbb514e6ed6eb7e766ce43af0d321613f9f |
|
MD5 | 583fbae24222fec3a10d7d1116be627b |
|
BLAKE2b-256 | 42dca57bd2a91af2cfc5bf0fbb4bc22ddb48a0e08b4c9e017bd2ab0a45e087dc |
File details
Details for the file django_q_rollbar-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: django_q_rollbar-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b261a15bcdfa440c9e7574569e887046b084c7edeb01bfe4e273494e71ac07e |
|
MD5 | 3498fbe23851e3db87bcaa14074c424b |
|
BLAKE2b-256 | cbf6feffb45964948e5229d5451b7336bbfea50665246cf859a94df551a44b26 |