Sentry Integration for Open edX
Project description
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.
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 tutor_contrib_sentry-21.0.0.tar.gz.
File metadata
- Download URL: tutor_contrib_sentry-21.0.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
885eb1c34d132a9a47fb84db895f2acd5014a3a2337e5e96ab449ed6b6825d73
|
|
| MD5 |
9760a7a41b97dfff5d523d1725f14ca9
|
|
| BLAKE2b-256 |
6b5bc05976dc2550e9e149e9a3078d807292b7e187f5892b8e20196c23e5ea10
|
File details
Details for the file tutor_contrib_sentry-21.0.0-py3-none-any.whl.
File metadata
- Download URL: tutor_contrib_sentry-21.0.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5641dfca0291bd0024ae189b80db656457ee8d3c9eb1fe29b88ee49111a0ff41
|
|
| MD5 |
364e66968ccc476df3554f4feebbf38e
|
|
| BLAKE2b-256 |
c4bde5f53b4893370789ed009d75bbb03327a5afbd7e9c0385cf97f88574b7c9
|