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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-q-sentry-0.1.6.linux-x86_64.tar.gz.
File metadata
- Download URL: django-q-sentry-0.1.6.linux-x86_64.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdbd9c7a48d543c2d74ae9a4c9004dfc0965cb11bc145c6cf4de3429be1b58ae
|
|
| MD5 |
2020231376a89f82616012f037821b00
|
|
| BLAKE2b-256 |
5b2c48be6335f7b25bda8ff77f95632f117935add18431ba52c16c1c8bb87d21
|
File details
Details for the file django_q_sentry-0.1.6-py3-none-any.whl.
File metadata
- Download URL: django_q_sentry-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b8b4d7fad253a7d9a47f2c2ab0d9dea83078b7ef45c8849dbb1e4176ef8d050
|
|
| MD5 |
69424358997240d517d2533859dcbab7
|
|
| BLAKE2b-256 |
1a2e7efdeff904400fba89428438c21ef3617c31544b17adbc17f4856b42369d
|