Sentry plugin for Tutor
A tutor plugin to integration Open edX with Sentry.
Installation
pip install tutor-contrib-sentry
Usage
tutor plugins enable sentry
Make sure to rebuld the openedx docker image to install the sentry SDK
Configuration
This plugin supports the following settings:
SENTRY_DSN: The sentry DSN used for ingestion.SENTRY_IGNORED_ERRORS: A list of rules with exceptions types to ignore, optionally you can ignore only specific exceptions that matches a list of regex.
SENTRY_IGNORED_ERRORS:
# Ignore all AuthFailedError exceptions
- exc_class: AuthFailedError
# Ignore all exceptions that match a regex
- exc_text:
- .*Email or password is incorrect
# Ignore all exceptions of type AuthFailedError that matches: .*Email or password is incorrect
- exc_class: AuthFailedError
exc_text:
- .*Email or password is incorrect
SENTRY_ENVIRONMENT: The sentry environment. Defaults toproduction.SENTRY_EXTRA_ARGS: A dictionary with extra arguments for the sentry SDK. e.g:
SENTRY_EXTRA_ARGS:
traces_sample_rate: 1.0
profiles_sample_rate: 0.0
Recommendations
On production we recommend adjusting both traces_sample_rate and profiles_sample_rate as those
can impact performance. See the sentry configuration options for more information.
License
This software is licensed under the terms of the AGPLv3.
Metadata
Release files for tutor-contrib-sentry 22.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tutor_contrib_sentry-22.0.0.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tutor_contrib_sentry-22.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.2 kB
Release files / tutor_contrib_sentry-22.0.0.tar.gz
| Download URL | tutor_contrib_sentry-22.0.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2086e42f2227bad8634d621d09e82adeabb01da1a41c0bc48daa18048f4fab61
|
|
BLAKE2b-256 checksum How to use checksums |
f7dbe3d055783988214ae84ba1c481c1ba2e164aabb47918b5579c3012f386f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tutor_contrib_sentry-22.0.0-py3-none-any.whl
| Download URL | tutor_contrib_sentry-22.0.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7b63876ee2216656e2e666a9d54e64d66fc1e4a4da49bb16511aaaa767ae167
|
|
BLAKE2b-256 checksum How to use checksums |
37bff71a7a253b1a7ee3d7681540f9706330fe76f5b6eb282370957cfd88f3f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|