Sentinel is a self-hosted error tracking, uptime, and monitoring platform, compatible with the open-source sentry-sdk client libraries.
Sentinel is a fork of GlitchTip. Essentially all of the engineering underneath this project — the ingest pipeline, event processing, issue grouping, storage model, API, and the Angular frontend — is the work of the GlitchTip team and its contributors, released under the MIT License.
We did not build an error tracker from scratch. We took an excellent one and added a few features on top. If Sentinel is useful to you, the credit belongs upstream.
Please support GlitchTip:
- 💛 Donate: https://liberapay.com/GlitchTip/donate
- 🌐 Website: https://glitchtip.com
- 🛠 Source: https://gitlab.com/glitchtip/glitchtip-backend
- 💬 Community: GlitchTip on Gitter
GlitchTip is itself a partial fork / re-implementation of Sentry's codebase from when it was open source, and remains API-compatible with the MIT-licensed sentry-sdk clients. Credit for that lineage goes to the Sentry team as well — see NOTICE.md.
Sentinel is not affiliated with, endorsed by, or supported by GlitchTip or Sentry. Please do not report Sentinel issues to them.
Everything GlitchTip does, Sentinel does, because it is GlitchTip underneath. The table below is the honest delta — a small set of additions, not a rewrite.
| Capability | GlitchTip | Sentinel |
|---|---|---|
| Error tracking, issue grouping, stack traces | ✅ | ✅ (unchanged) |
| Uptime monitoring | ✅ | ✅ (unchanged) |
| Performance / transactions, Logs, Releases | ✅ | ✅ (unchanged) |
| Email + webhook alerts (Discord, Teams, Slack-compatible, Google Chat, ntfy, Zulip, Feishu) | ✅ | ✅ (unchanged) |
| Telegram alerts | ❌ | ✅ added |
| AI root-cause analysis (bring your own OpenAI / Gemini / Claude key) | ❌ | ✅ added |
| SSL certificate expiry alerts | ❌ | ✅ added |
| Stats & Usage page (accepted / rate-limited / invalid event counts) | ❌ | ✅ added |
| Cron / heartbeat monitoring | ✅ extended — grace period, enable toggle, dedicated ping endpoint, status UI | |
| Branding | GlitchTip | Sentinel |
- Telegram alerts — a Telegram recipient type alongside the existing webhook channels. Supply a bot token from @BotFather and a chat ID.
- AI root-cause analysis — an on-demand "Explain this error" panel on issue pages. You configure one provider (OpenAI, Google Gemini, or Anthropic Claude) with your own API key. It never runs automatically on ingest, and results are cached per issue, so it cannot quietly drain your credits.
- Cron / heartbeat monitoring — a dead-man's switch for scheduled jobs. Your cron job
curls a ping URL; if the check-in doesn't arrive within the expected period plus a grace window, Sentinel alerts you. Catches jobs that fail silently, which error tracking cannot. - SSL expiry alerts — certificate expiry is read from the TLS handshake the uptime check already performs (no extra requests), with a configurable warning threshold and one alert per certificate.
All of the above reuse GlitchTip's existing alert-delivery machinery rather than introducing a parallel notification system.
cp .env.example .env
openssl rand -base64 48 # paste the result into SECRET_KEY in .env
docker compose up -dOpen http://localhost:8000 — the first user to register becomes the admin. See release/README.md for the full self-hosting guide.
This repo is the backend API only. For a working web UI you also need the Sentinel Frontend; without it you'll see TemplateDoesNotExist when opening the site in a browser.
We use Docker for development:
- Ensure docker and docker compose are installed
docker compose up(ormake start)docker compose run --rm web ./manage.py migrate(ormake migrate)- Clone and run the frontend with
npm start— it proxies API requests to the backend automatically
Run tests with make test, view logs with make logs, and make help for more shortcuts. Lint with uv run ruff check .. Dependencies are managed with uv. Minimum Python 3.12; the Docker image uses 3.14.
- The Django project package is
sentinel/(settings modulesentinel.settings); environment variables are prefixedSENTINEL_. - Three names intentionally still reference GlitchTip and must not be renamed: the
glitchtip-rust/gt_rustPyPI dependency, the@glitchtip/ng-chartsnpm dependency, and the attribution inLICENSE/NOTICE.md. - The inbound
glitchtip_keyquery parameter is still accepted so existing GlitchTip installs can migrate without breaking.
cp compose.yml compose.override.yml- Edit the override file and set
command: ./manage.py runsslserver 0.0.0.0:8000 - Restart docker compose services
Using pg_partman requires the extension installed in Postgres. compose.part.yml offers an alternative image. Switching between advanced and default partitioning is not supported.
docker compose -f compose.yml -f compose.part.yml up # or: make partman-startDefault partitioning uses DATE partitions managed by Django. Advanced partitioning uses nested ORG_ID HASH > DATE partitions managed by pg_partman.
Load and A/B benchmarks live in benchmarks/ — see run_ingest_bench.sh (memory growth under sustained load) and run_ingest_ab.sh (Python vs Rust ingest A/B).
- Edit
monitoring/prometheus/prometheus.ymland set credentials to a Sentinel auth token docker compose -f compose.yml -f compose.metrics.yml up
To enable JSON logging:
DJANGO_LOGGING_HANDLER_CLASS=google.cloud.logging_v2.handlers.ContainerEngineHandler
Sentinel is API-compatible with Sentry, but Sentry's server code and documentation are not open source (BSL/FSL). Do not read, copy, or reference Sentry's server-side source or docs when contributing. The MIT-licensed Sentry client SDKs are fine to read.
- The GlitchTip team and contributors — for building the platform this project is a fork of. Nearly all of the code here is theirs. Support them on Liberapay.
- The Sentry team — for their ongoing open source SDK work and the formerly open source backend that GlitchTip is based on.
- Django — no other web framework is as feature complete.
- django-ninja / Pydantic — typed, async-first API design.
MIT — see LICENSE, which retains the original Copyright (c) 2019 GlitchTip. Additional attribution in NOTICE.md.