A Sentry support plugin for Django Q
Project description
# django-q-sentry
A [Django Q](https://github.com/Koed00/django-q/) Error Reporter plugin adding Sentry 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[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.
```python
Q_CLUSTER = {
'error_reporter': {
'sentry': {
'dsn': 'https://******@sentry.io/<project>'
}
}
}
```
Please check the [python sentry client configuration docs](https://docs.sentry.io/clients/python/) for more options. Additional key-value pairs defined in `Q_CLUSTER['error_reporter']['sentry']` are passed directly as kwargs to instantiation of [`raven.Client`](https://docs.sentry.io/clients/python/#configuring-the-client).
A [Django Q](https://github.com/Koed00/django-q/) Error Reporter plugin adding Sentry 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[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.
```python
Q_CLUSTER = {
'error_reporter': {
'sentry': {
'dsn': 'https://******@sentry.io/<project>'
}
}
}
```
Please check the [python sentry client configuration docs](https://docs.sentry.io/clients/python/) for more options. Additional key-value pairs defined in `Q_CLUSTER['error_reporter']['sentry']` are passed directly as kwargs to instantiation of [`raven.Client`](https://docs.sentry.io/clients/python/#configuring-the-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
django-q-sentry-0.1.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for django_q_sentry-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4864022c7bd8e456ea51401830fc1ab37977099ca29ab9b6c0d35c4988c4aad9 |
|
MD5 | 7d21d6efa2aa4377042d9ccda53259b9 |
|
BLAKE2b-256 | 1c8a918cd8ccae5c6dbf268ec3a75a3e6fa4cc02787ebde5dca058c854026e39 |