Error tracking

Open-source error tracking that finds the bug, not just the log line

ErrorLens catches every unhandled exception in your app, groups repeats into one issue, and shows the stack trace, the request, the user and the steps that led to it — then tells you the moment something new breaks.

An ErrorLens issue with its stack trace, source context, tags and breadcrumbs

What error tracking gives you that logs don't

A log file tells you an exception happened. An error tracker tells you which exception, how often, since which release, for how many users, and exactly which line of your code raised it. Instead of grepping through thousands of lines, you get a short list of issues sorted by impact.

  • Grouping — the same bug seen 10,000 times is one issue with a counter and a graph, not 10,000 emails
  • Stack traces with source context — the lines around every frame of your own code, plus local variables in Python
  • Breadcrumbs — the clicks, requests, queries and log lines leading up to the error
  • Releases and regressions — see which deploy introduced a bug; resolved issues reopen if it comes back
  • Alerts — new issues, regressions and spikes go to email, Slack, Discord or webhooks
  • Readable JavaScript — upload source maps and minified stack traces show your original code

Set up in two minutes

Install the SDK for your language, add one line with your project's DSN, and deploy. Unhandled errors are reported automatically from then on.

Python
import errorlens

errorlens.init(dsn="https://<key>@errorlens.io/<project-id>")
Node.js
import * as ErrorLens from "@errorlenshq/node";

ErrorLens.init({ dsn: process.env.ERRORLENS_DSN });
Browser
import * as ErrorLens from "@errorlenshq/browser";

ErrorLens.init({ dsn: "https://<key>@errorlens.io/<project-id>" });

Why teams choose ErrorLens

  • Open source — the server is AGPL-3.0 and the SDKs are MIT; read every line that touches your data
  • Private by design — secrets are scrubbed before storage, IPs are truncated, every event view is audited
  • Simple to run — one container and Postgres; no Kafka, Redis or ClickHouse
  • More than errors — performance tracing, logs, cron and uptime monitors in the same place, linked by trace
  • Light SDKs — zero dependencies; the browser bundle is 12 KB gzipped

Frequently asked questions

What is error tracking?

Error tracking automatically captures exceptions from running applications, groups identical errors into issues, and records the context needed to fix them: stack trace, request, user, release and the events leading up to the error. It alerts you when new problems appear.

Is ErrorLens free?

Yes. Self-hosting is free with no event limits, and the hosted service has a free plan with 5,000 events a month. The server is open source under AGPL-3.0 and the SDKs under MIT.

Which languages are supported?

ErrorLens has its own SDKs for Python, Node.js and browser JavaScript. Other languages can send errors with any SDK that speaks the standard error-envelope protocol, and traces and logs with OpenTelemetry.

How is error tracking different from logging?

Logs record everything as text. Error tracking extracts exceptions, groups repeats, counts affected users, links each error to a release and a trace, and alerts on new or returning issues — so you see the few problems that matter instead of every line.

Start tracking errors in minutes

Free hosted plan with 5,000 errors a month, or self-host with no limits. No credit card.

Guides by language and framework

Python error tracking

Track Python exceptions with full tracebacks, local variables and request context. One line to set up for Django, Flask, FastAPI and Celery. Open source.

Django error tracking

Catch Django 500 errors with full tracebacks, request data, users and slow queries. Grouped issues and instant alerts instead of ADMINS emails. Open source.

Flask error tracking

Report Flask exceptions with tracebacks, request data and route names, and trace slow endpoints. Set up with one line, no extension needed. Open source.

FastAPI error tracking

Track FastAPI and Starlette exceptions with route-named traces, async-safe request context and query spans. One-line setup, open source, self-hostable.

Celery error tracking

Monitor Celery tasks: failures with tracebacks, task durations, traces that follow a job from the web request that queued it, and alerts for missed beat jobs.

Node.js error tracking

Track Node.js errors, unhandled rejections and slow requests with per-request context and distributed tracing. Zero-dependency SDK, ESM and CommonJS.

Express error tracking

Report Express errors with route-named transactions, request context and traces. Works with Express 4 and 5 in one line. Open-source error monitoring.

JavaScript error tracking

Track JavaScript errors in the browser with breadcrumbs, source maps, page-load timing and web vitals. 12 KB gzipped, works with any frontend. Open source.

React error tracking

Track React errors caught by error boundaries and uncaught render errors, with component stacks, breadcrumbs and source maps. Works with React 18 and 19.

Next.js error tracking

Track Next.js errors on the server and in the browser: route handlers, server components and client errors in one trace. Setup with instrumentation.ts.