Skip to main content

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.

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-22.0.0.tar.gz (15.8 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-22.0.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tutor_contrib_sentry-22.0.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for tutor_contrib_sentry-22.0.0.tar.gz
Algorithm Hash digest
SHA256 2086e42f2227bad8634d621d09e82adeabb01da1a41c0bc48daa18048f4fab61
MD5 a1eab38d238a6becae2c62fc35f7c601
BLAKE2b-256 f7dbe3d055783988214ae84ba1c481c1ba2e164aabb47918b5579c3012f386f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tutor_contrib_sentry-22.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for tutor_contrib_sentry-22.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b63876ee2216656e2e666a9d54e64d66fc1e4a4da49bb16511aaaa767ae167
MD5 c52101431fea9cdd9384a81029815b4b
BLAKE2b-256 37bff71a7a253b1a7ee3d7681540f9706330fe76f5b6eb282370957cfd88f3f0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

22.0.0 This release

2 files

21.0.0

2 files

20.0.0

2 files

19.0.0

2 files

18.0.0

2 files

Supported by

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