GlitchTip is an open source, Sentry API compatible error tracking platform. It is a partial fork/mostly reimplementation of Sentry's open source codebase before it went proprietary. Its goals are to be a modern, easy-to-develop error tracking platform that respects your freedom to use it any way you wish. Some differences include:
Project status: Stable. Open an issue and say hello if you'd like to help. We are able to process basic error requests from the open source Sentry client tools. More features are on the way.
We use Docker for development. View our Contributing documentation if you'd like to help make GlitchTip better.
docker-compose up
Run tests with docker-compose run --rm web ./manage.py test
cp docker-compose.yml docker-compose.override.yml
command: ./manage.py runsslserver 0.0.0.0:8000
VS Code can do type checking and type inference. However, it requires setting up a virtual environment.
apt install python3-dev python3-venv
python3 -m venv env
source env/bin/activate
poetry install
Locust is built into the dev dependencies. To run with Locust run
docker-compose -f docker-compose.yml -f docker-compose.locust.yml up
Now go to localhost:8089 to run the test.
Locust will not be installed to production docker images and cannot be run from them.
In order to enable json logging, set the environment as follows::
DJANGO_LOGGING_HANDLER_CLASS=google.cloud.logging_v2.handlers.ContainerEngineHandler
UWSGI_LOG_ENCODER='json {"severity":"info","timestamp":${unix},"message":"${msg}"}}'