Integration with glitchtip error monitoring service.
- Add oarepo-glitchtip to your dependencies in
pyproject.toml
:
[project]
name = "repo"
version = "1.0.0"
description = ""
packages = []
authors = []
dependencies = [
"oarepo-glitchtip"
# ...
]
# ...
- At the top of your
invenio.cfg
file, add the following code:
# glitchtip
from oarepo_glitchtip import initialize_glitchtip
initialize_glitchtip()
- 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>"
- Run the repository as usual