======================
This very small extension hooks up your LAVA system to Sentry via Raven, the
official Sentry client.
Installation
^^^^^^^^^^^^
You first need to deploy sentry itself somewhere (I recommend the standalone
mode). Installing this extension is rather easy::
$ pip install lava-raven
You need to edit your LAVA ``settings.conf``
(``/srv/lava/instances/.../etc/lava-server/settings.conf``) and define the
``SENTRY_DSN`` variable. You can get it from a running Sentry instance, follow
those steps::
1. Create a sentry user, sign in as that user
2. Click projects->manage
3. Select the desired sentry project (or just pick the default one)
4. Add yourself as a member. This allowed me to have the DSN variable.
Options
^^^^^^^
There are two conifguration options available, both are off by default:
USE_SENTRY_404_MIDDLEWARE
*************************
If you flip this to ``true`` all 404 error will be reported in Sentry.
USE_SENTRY_RESPONSE_MIDDLEWARE
******************************
If you flip this to ``true`` all crashing views will be handled by sentry with
a nice error message that contains the incidend ID.
Metadata
Release files for lava-raven 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lava-raven-0.1.1.tar.gz | 3.6 kB | Without provenance | Details for lava-raven-0.1.1.tar.gz |
Release files / lava-raven-0.1.1.tar.gz
| Download URL | lava-raven-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e4d08e78f38aa6a1e7be742a0db46286ff5c01cdc6d55041a02f5d9da4ae7df
|
|
BLAKE2b-256 checksum How to use checksums |
14c2c6d2d559897819b73f2a286df58e2e1c8ee92d67712bb58155a48d16b941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for lava-raven 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.