ErrorLens documentation
Everything you need to send errors, performance data and logs to ErrorLens, and to make sense of them once they arrive. New here? Start with the quick start.
Getting started
What is ErrorLens?
ErrorLens is open-source error tracking, performance monitoring and logs. Learn how it works, what it collects, and how to choose hosted or self-hosted.
Quick start
Set up ErrorLens in five minutes: create a project, install the Python, Node.js or browser SDK, send a test error and get alerted when something breaks.
Organizations, projects and DSNs
How ErrorLens organizes data: organizations, projects, environments and DSN keys, and how your dashboard URL and SDK configuration map to them.
Sending data
Python
Set up the errorlens Python SDK: report exceptions, add context, trace Django, Flask, FastAPI and Celery, send logs and cron check-ins. No dependencies.
Node.js
Set up @errorlenshq/node: report errors and unhandled rejections, Express, Fastify, Koa and Hapi helpers, tracing, logs, cron monitors and serverless.
Browser JavaScript
Set up @errorlenshq/browser for websites and single-page apps: uncaught errors, breadcrumbs, page-load tracing, web vitals, React error boundaries.
Other languages
Use ErrorLens from Go, Java, PHP, Ruby, .NET, Rust and mobile apps with any SDK that speaks the standard error-envelope protocol, plus rate limits.
OpenTelemetry
Send traces and logs to ErrorLens from any OpenTelemetry SDK or Collector over OTLP/HTTP, with environment variables, Collector config and data mapping.
Features
Issues and grouping
How ErrorLens groups errors into issues, how fingerprints work, and how to resolve, ignore, merge and search issues and track regressions.
Issue details
Read an ErrorLens issue: stack traces with source context, breadcrumbs, tags, request data, users, releases and the trace and logs around each event.
Performance and traces
Monitor latency, throughput and failure rate per endpoint with ErrorLens, and follow distributed traces across services with spans, errors and logs.
Logs
Send structured logs to ErrorLens from SDKs or OpenTelemetry, search them by text and attribute, tail them live and jump from any line to its trace.
Uptime monitors
Check websites and APIs every 30 seconds to every hour with ErrorLens uptime monitors, see response times and get alerted when they go down or recover.
Cron monitors
Monitor cron jobs and scheduled tasks with ErrorLens: check in by HTTP or SDK, and get alerted when a run is missed, fails or exceeds its runtime.
Alerts
Configure ErrorLens alerts for new issues, regressions, spikes and monitors, delivered to email, Slack, Discord or signed webhooks with cooldowns.
Releases and source maps
Track which release introduced an error and upload JavaScript source maps from CI so ErrorLens shows original files and lines for minified code.
Privacy & security
Data scrubbing
How ErrorLens removes passwords, tokens, API keys, cookies, card numbers and personal data before storage, and how to add your own scrubbing rules.
Encryption
Encrypt every stored ErrorLens event with AES-256-GCM using your own key: how to enable it, rotate keys, back them up and what stays searchable.
Account security
Protect ErrorLens accounts with two-factor authentication, OpenID Connect single sign-on, session controls, API tokens and the audit log.
Team & account
Members and roles
Invite your team to ErrorLens and control access with owner, admin, member and viewer roles per organization, plus SSO auto-join for your domain.
Usage and quotas
How ErrorLens counts events, what the free hosted plan includes, what happens at the monthly limit, rate limits, and how to reduce event volume.
Self-hosting
Self-hosting with Docker
Self-host ErrorLens with Docker Compose: one container plus Postgres. Install, configure HTTPS, email and backups, upgrade, and scale web and workers.
Configuration reference
Every ErrorLens server setting: database, public URL, email, SSO, encryption, retention, hosted mode and billing, configured with environment variables.
Kubernetes
Deploy ErrorLens on Kubernetes with the Helm chart: values, external Postgres, ingress and TLS, scaling web and worker roles, and upgrades.
Hosted mode
Run ErrorLens as a multi-tenant hosted service: organization subdomains, public sign-up, quotas, usage metering and billing hooks on Postgres RLS.