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 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 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-20.0.0.tar.gz (18.4 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-20.0.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tutor_contrib_sentry-20.0.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for tutor_contrib_sentry-20.0.0.tar.gz
Algorithm Hash digest
SHA256 4ea6c279b5a68b5595e6785fdba0b8e2f3ee959177be099d63844ab8f5fd6cc0
MD5 840364149d906654b297a736a57f6c09
BLAKE2b-256 deeab27c698c6c82f212304f8f33d6b1879dc24d12c3668e9af583eda021d364

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tutor_contrib_sentry-20.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5db8d9612a5321ad9b8387cfba0734c6a2d09c0453ded7f28a3d513e4904cbd9
MD5 0c5a3f507e016c716baa747355d4e5da
BLAKE2b-256 d109f47d53547ed57b1756b592cda86b3e2610220f145009735814940c58be68

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