Skip to main content

Sentry Integration for Open edX

Project description

Sentry plugin for Tutor

A tutor plugin to integration Open edX with Sentry.

Installation

pip install git+https://github.com/eduNEXT/tutor-contrib-sentry

Usage

tutor plugins enable sentry

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 to production.
  • 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

tutor_contrib_sentry-18.0.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tutor_contrib_sentry-18.0.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file tutor_contrib_sentry-18.0.0.tar.gz.

File metadata

  • Download URL: tutor_contrib_sentry-18.0.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tutor_contrib_sentry-18.0.0.tar.gz
Algorithm Hash digest
SHA256 6531bf7f563bb18d854effef37df2d3bdf3ef2dd76a6329de1313f76660d7215
MD5 e39634588c4682f74d7d680a6a1132d1
BLAKE2b-256 ee1dc197cad73da6d27667b11063129852c0af2e92ed6f807df6313dccaf7733

See more details on using hashes here.

File details

Details for the file tutor_contrib_sentry-18.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tutor_contrib_sentry-18.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7582e0a215c8c6ffc6cddbfe3b04090895c40f2d612047b860bacb32fbf62c2
MD5 fb78df1c7d07af30162fee1191c8d1c5
BLAKE2b-256 e7aadf8a31a72a5507240ae77d7a4be44490df0380c9202f179cfc37e1f1e991

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page