GlitchTip: a lightweight, open source Sentry alternative

When your app crashes in front of a user, an error tracker is what tells you. It collects each crash, groups the repeats and alerts you. GlitchTip is a free error tracker you can run yourself. It accepts the same reports as Sentry, the best known tool, but needs far less to run. This note explains how it works, what it gives you, and where my own tool fits next to it.

In short

Think of a smoke alarm. Your app carries a small alarm, a library called the Sentry SDK. When something breaks, the alarm sends a report to an address you gave it.

Sentry built that alarm, and its own service is the usual place the reports go. But the alarm does not care who listens. Any service that understands the same report can take its place. You change one address in your app and nothing else.

That is what this tool does. It listens for the same reports and groups the same crash into one problem. Then it tells you by email or in a chat app such as Slack or Discord.

Three things make it stand out. It is light: a small server and a database are enough. Its license is MIT, which lets you use it for anything, even sell it. And because it speaks Sentry’s language, moving to it or away from it is cheap.

What it does not do is act on the error. It tells you a bug happened. Fixing it is still your job.

The technical details

How a report reaches it

your app + Sentry SDK
        |
        |  error report, sent to the DSN (the address)
        v
   error tracker  ---->  database (PostgreSQL)
        |
        +--> alert: email, Slack, Discord, Teams, webhook ...

The DSN is the address in your app’s Sentry.init(...) call. Point it at a GlitchTip server instead of Sentry and the same SDK keeps working. Its own README calls it “a partial fork/mostly re-implementation of Sentry’s open source codebase before it went proprietary”. So it was built to accept Sentry’s reports from day one.

What self hosted error tracking costs you here

This is where it differs most from Sentry. Sentry’s self hosted package is a Docker Compose file with 53 services, including Kafka and ClickHouse. Its documented minimum is 4 CPU cores and 16 GB of RAM plus swap.

The other one needs PostgreSQL 14 or newer and a single service. Since version 7.0.0 that service is one process: it serves the web app, runs background jobs and runs the scheduler. Valkey, a cache, is optional. Its docs give 256 MB of RAM as the minimum and 512 MB as the recommended size.

Sentry, self hosted GlitchTip
What you run 53 services One process and PostgreSQL
Minimum RAM 16 GB plus swap 256 MB
License Source available MIT, open source

What it gives you

Errors grouped into issues, with the stack trace, the list of function calls that led to the crash. Alerts per project, sent when an error happens often enough. Its source code lists 9 kinds: email, a generic webhook, Discord, Slack, Google Chat, ntfy, Microsoft Teams, Zulip and Feishu.

It also does more than errors. It records performance traces, so you can see slow requests. It runs uptime checks, so it can tell you when a site goes down. It has an MCP server, a way for AI assistants to connect to it.

When it is the right Sentry alternative

Pick it when you want Sentry’s SDK and a familiar error inbox, with little hardware, under an open source license. It is a good choice for anyone who wants their errors to stay on servers they control.

Look elsewhere when you want the tool to do something about each error. Its docs and integrations list no way to open a GitHub issue for each new error, and it has no AI fixes.

Where Code Akos fits

Code Akos is the tool I built for that second job. It accepts the same Sentry SDK reports, so you can try it by changing the same one address. More is on the Code Akos project page.

The difference is what happens after the report arrives:

error  ->  group  ->  GitHub issue  ->  model explains it  ->  fix tried  ->  pull request

At version 1.3.0, each new error with a stack trace becomes one GitHub issue. It comments again at 100, 1,000 and 10,000 events. A model reads the error, says what happened and tags it. Then it tries a fix in a copy of your code and opens a pull request for you to review. It never merges anything itself, and the model can answer SKIP when a fix is not safe.

You choose the model. With a local one such as qwen2.5-coder:7b through Ollama, the code never leaves your computer. How the fix step works is in can AI auto fix production issues.

So the two do different jobs. One is a light, open source inbox for errors. The other turns each error into an issue and a reviewable fix.

What I will try next

Try more models, local and hosted, on the same errors to see which ones explain and fix them best. And grow the test set with more real errors, so the results mean more.