Skip to Content
ModulesOarepo Glitchtip

oarepo-glitchtip

Integration with glitchtip error monitoring service.

Installation

  1. Add oarepo-glitchtip to your dependencies in pyproject.toml:
[project] name = "repo" version = "1.0.0" description = "" packages = [] authors = [] dependencies = [ "oarepo-glitchtip" # ... ] # ...
  1. At the top of your invenio.cfg file, add the following code:
# glitchtip from oarepo_glitchtip import initialize_glitchtip initialize_glitchtip()
  1. In the deployment, set the following environment variables:
export INVENIO_GLITCHTIP_DSN="<from your installed glitchtip server>" # optionally export DEPLOYMENT_VERSION="<version of the deployment>"
  1. Run the repository as usual
Last updated on