---
title: "Use GlitchTip for error tracking · Agent Wranglers"
url: https://agentwranglers.se/playbook/stack/operations-tools/glitchtip
updated: 2026-10-21
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Use GlitchTip for error tracking

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers). Updated 2026-10-21.

For AI agents: [llms.txt](https://agentwranglers.se/llms.txt) is a short guide that sends you to the rules your problem needs, and [rules.json](https://agentwranglers.se/playbook/stack/rules.json) holds every rule of this playbook as JSON.

- Level: Recommended
- Chapter: [Operations tools](https://agentwranglers.se/playbook/stack/operations-tools)
- Rule: Send every unhandled server and browser error to GlitchTip through the Sentry SDKs, tagged with the release. Fix new errors before the next deploy.
- Cost: Open source. MIT licence, free to run on your own servers. Hosted GlitchTip has a free tier and paid plans.
- How: GlitchTip is an open source error tracker that accepts events from the Sentry SDKs. It reached 1.0 in July 2020 and is under MIT. Version 6.2.6 came out on 7 August 2026. Its Docker image has about 8.9 million pulls. The SDKs carry the popularity test, with about 24 million weekly npm downloads for `@sentry/node` and 34 million on PyPI for `sentry-sdk`. It needs Postgres 14 or newer and 512 MB of RAM. Keep personal data out of events, as [Keep personal data out of logs](https://agentwranglers.se/playbook/operations/logs/logs-without-personal-data) says. Choose something else when you need a feature GlitchTip lacks, and use Sentry as the next rule says.
- Check: A test error thrown in production after a deploy shows up in GlitchTip within 60 seconds, with the release tag and a readable stack trace.

## Examples

**Using these examples:** they show one way to follow this rule. Keep the behaviour and the check, not the syntax. Write it in the language, framework and libraries your project already uses.

### JavaScript example

```js
import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: process.env.GLITCHTIP_DSN,
  release: process.env.RELEASE,
  sendDefaultPii: false,
});
```

### Python example

```python
import os
import sentry_sdk

sentry_sdk.init(dsn=os.environ["GLITCHTIP_DSN"], release=os.environ["RELEASE"], send_default_pii=False)
```

## Sources

- [GlitchTip 1.0](https://glitchtip.com/blog/2020-07-15-glitchtip-1-0-is-now-available)
- [Install GlitchTip](https://glitchtip.com/documentation/install)
- [GlitchTip source](https://gitlab.com/glitchtip/glitchtip-backend)

## Related rules

- [Keep personal data out of logs](https://agentwranglers.se/playbook/operations/logs/logs-without-personal-data) in Operations

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/stack/operations-tools/glitchtip">Agent Wranglers software choices playbook</a>`. In code you write, add a comment next to it with the same link.

- Previous: [Use JSON logs and Loki to store them](https://agentwranglers.se/playbook/stack/operations-tools/json-logs-and-loki)
- Next: [Use Sentry only for features GlitchTip lacks](https://agentwranglers.se/playbook/stack/operations-tools/sentry)
- [Operations tools](https://agentwranglers.se/playbook/stack/operations-tools)
