Skip to content
FossShelf
Home / Categories / For Security Teams

Sentry

Error tracking and performance monitoring for self-hosted teams.

Replaces Rollbar, Datadog, New Relic

45.79K starsFSL-1.1-Apache-2.0reviewed 16 Apr 2026last commit 16 Nov 2026
Screenshot of Sentry

Who it's for

Backend teams debugging production errors

Sentry captures the full stack trace, the HTTP request context, and the user affected by each error. When a 500 appears in production, you get the trace from the entry point through every service call, the database queries it triggered, and the session replay of the user who hit it.

If your backend is a batch job or queue worker with no user sessions, session replays add no value. Consider logging-focused tools alongside Sentry for infrastructure-level visibility.

Frontend teams tracking JavaScript errors

The JavaScript SDK captures unhandled exceptions, console errors, failed network requests, and Core Web Vitals. Session replays reconstruct exactly what the user did before the error, including every click and input. Breadcrumbs show the sequence of UI events that preceded the crash.

If your frontend is server-rendered with minimal client-side JavaScript, Sentry's frontend SDK adds less value. The backend SDK remains useful for capturing server errors.

Teams building LLM-powered applications

Sentry's agent tracing captures each tool call, model response, token count, and latency across AI workflows. When an LLM pipeline produces unexpected output or a tool call fails, the trace shows exactly which step failed and what the model received.

If you are running simple single-call LLM integrations with no tool use or multi-step pipelines, standard error tracking covers your needs. The dedicated agent tracing value comes with multi-agent or tool-heavy workflows.

The problem

Production debugging is expensive because the data needed to fix a bug lives in separate tools. The error is in the logging service, the performance trace is in the APM dashboard, and the session recording is in a separate replay tool. Correlating them means manually matching timestamps and release versions, which takes hours for a critical incident. The cost problem compounds the complexity problem. Commercial observability tools charge per host, per gigabyte, or per seat. A team running 50 services on Datadog or New Relic can easily pay thousands of dollars a month before accounting for log ingestion costs. Smaller teams get squeezed out of full observability or accept incomplete coverage. When an error happens and the replay or the full trace is behind a paywall or quota, the debugging picture is incomplete.

How it works

Connected errors, traces, and replays

Every event carries the same trace ID, so you jump from an error alert to the distributed trace, the session replay of the user who hit it, and the logs from the same request, without switching tools or correlating timestamps manually.

Seer AI root-cause debugger

Seer analyzes incoming issues using the commit history, related traces, and the full stack trace to explain why the code failed and generate a merge-ready patch. It runs on every new issue automatically, without requiring manual configuration.

Performance monitoring with N+1 and slow query detection

Sentry instruments database queries and HTTP calls to surface N+1 patterns, slow queries, and request timeouts. Issues link back to the specific transaction and code path that generated them, so you fix the query rather than add a cache.

AI agent and LLM workflow tracing

Dedicated agent tracing captures tool calls, model spend, token usage, and unexpected outputs across AI pipelines. Teams building with LLM frameworks get the same error and performance visibility they have for traditional backend services.

SDK support for 30+ languages and frameworks

Official SDKs cover Python, Node.js, React, Go, Ruby, PHP, Java, .NET, iOS, Android, Flutter, and more. Each initializes with a few lines of code and no separate agent process, covering both server-side and client-side instrumentation.

Features

  • Connected errors, traces, and replays
  • Seer AI root-cause debugger
  • Performance monitoring with N+1 and slow query detection
  • AI agent and LLM workflow tracing
  • SDK support for 30+ languages and frameworks

How to install

Deploy Sentry self-hosted using the official Docker Compose configuration from the self-hosted repository.

git clone https://github.com/getsentry/self-hosted
cd self-hosted
./install.sh

Recommended for this setup

Strengths

  • 45,000+ stars and 16 years in production: Sentry has been in active development since 2010 with 45,772 stars on GitHub. The codebase is mature, with battle-tested error handling across millions of applications worldwide, including teams at Anthropic, Disney, and Instacart.
  • All signals connected by one trace: Unlike Datadog or New Relic, where logs, APM, and replays are separate products with separate pricing, Sentry connects errors, logs, spans, profiles, and replays through a single trace ID. The debugging workflow stays in one UI without manual correlation.
  • Free to self-host for internal use: The FSL-1.1-Apache-2.0 license permits self-hosting for a team's own applications at no licensing cost. Teams running 50 services pay the same as teams running one: the cost of their own infrastructure, with no per-host or per-seat fees.

Trade-offs

  • FSL license restricts competing use: The Functional Source License permits self-hosting for internal use. Using Sentry to build a competing error tracking or observability product offered to others is not permitted. Versions convert to Apache 2.0 two years after each release, but current code remains under the FSL until that anniversary passes.
  • 1,583 open issues at time of writing: The public issue tracker shows 1,583 open issues. Many are feature requests and edge-case bug reports, but the volume is worth checking if your stack or use case is unusual. High-traffic edge cases, particularly around large trace volumes, have historically taken time to address.
  • Self-hosting requires meaningful infrastructure: The Docker Compose setup works for most teams, but Sentry's full stack (Postgres, Redis, ClickHouse, Kafka, and several service containers) demands meaningful server resources. A minimal installation needs at least 4 GB RAM. Performance tuning and upgrades require familiarity with Docker and the services involved.

Tech stack

Languages
Python, TypeScript, MDX, HTML, JavaScript, CSS, Lua, PEG.js, EJS, Shell, Go Template, Makefile, Dockerfile, Ruby
Frameworks
Django, React
Databases
—
Tooling
esbuild

FAQ

What license does Sentry use?

Sentry is licensed under the Functional Source License 1.1 with an Apache 2.0 future license (FSL-1.1-Apache-2.0). Self-hosting for internal use is permitted. Competing use (making Sentry available to others in a commercial product or service that substitutes for Sentry or offers substantially similar functionality) is not permitted. Each version automatically converts to Apache 2.0 on the second anniversary of its availability date.

Can I self-host Sentry for free?

Yes, internal self-hosting is permitted under the FSL-1.1-Apache-2.0 license at no licensing cost. You pay only for the infrastructure you run it on. The official self-hosted setup uses Docker Compose and requires at least 4 GB of RAM for a minimal installation. Using the self-hosted version to offer Sentry as a service to others is not permitted under the FSL.

How does Sentry compare to Datadog for error tracking?

Sentry focuses on application-level error tracking and performance monitoring, with errors, traces, and session replays connected through a single trace ID. Datadog is a broader infrastructure observability tool with over 1,000 integrations covering hosts, containers, logs, and APM. Teams that want deep application error context typically prefer Sentry; teams with heavy infrastructure monitoring needs often run both. Sentry self-hosting has no per-host billing; Datadog charges per host.

Does Sentry support monitoring AI agents and LLM workflows?

Yes. Sentry added dedicated agent tracing that captures tool calls, model responses, token usage, and latency across LLM pipelines. The instrumentation detects AI SDK calls automatically for supported frameworks. This covers unexpected model outputs, failed tool calls, and performance issues in multi-agent workflows. The same SDK initialization that enables error tracking also enables agent tracing with no separate setup.

Similar tools

More in Security Teams