Overview
Sentry provides a developer-focused platform for monitoring application health, focusing on error tracking and performance management. It helps engineering teams detect, diagnose, and resolve code-level issues across the full software development lifecycle. The platform integrates directly into application code via SDKs, which capture exceptions, crashes, and performance metrics as they occur in production or staging environments.
Upon detection, Sentry aggregates errors into issues, providing detailed context such as stack traces, local variables, device information, and user impact. This context aims to reduce the time spent reproducing bugs. For performance monitoring, Sentry traces transactions across services, identifying bottlenecks and slow operations. It also includes capabilities like distributed tracing and code coverage to provide a holistic view of application behavior.
Sentry is designed for a wide range of users, from individual developers to large enterprise teams managing complex distributed systems. Its applicability extends across web, mobile, and backend applications, with support for over 15 programming languages and frameworks including JavaScript, Python, Node.js, and Java. Teams can configure alerts and notifications based on error rates, new errors, or performance thresholds, integrating with communication tools like Slack and PagerDuty. The platform's open-source core allows for self-hosted deployments, providing flexibility for organizations with specific data residency or security requirements, as detailed in the Sentry self-hosted documentation.
Beyond error and performance, Sentry offers Session Replay, allowing developers to visually reproduce user interactions leading up to an error. This feature provides direct insight into the user experience and helps in understanding the exact sequence of events that triggered an issue. Release Health monitoring tracks the adoption, stability, and crash-free rates of new releases, enabling teams to assess the impact of deployments and quickly identify regressions. Sentry's focus on providing actionable insights directly to developers distinguishes it in the application performance monitoring (APM) market, offering a more granular, code-level view compared to broader infrastructure monitoring tools.
Key features
- Error Monitoring: Real-time capture and aggregation of exceptions, crashes, and unhandled errors across various programming languages and platforms. Provides stack traces, context, and user information for each error.
- Performance Monitoring: Traces transactions, identifies slow operations, and pinpoints performance bottlenecks within applications and across distributed systems. Includes distributed tracing capabilities.
- Session Replay: Records and replays user interactions leading up to an error, offering visual context to understand user experience and reproduce issues.
- Release Health: Monitors the health of new code deployments by tracking crash-free rates, adoption, and regressions, enabling quick rollback decisions.
- Code Coverage: Provides insights into which parts of the codebase are exercised by tests and which are touched in production, helping identify untested or problematic areas.
- Alerting & Workflow Automation: Customizable alerts based on error thresholds, new issues, or performance degradations, with integrations for various communication and incident management tools.
- Contextual Data: Automatically attaches relevant data like user details, device information, breadcrumbs (event logs), and custom tags to errors and performance events.
- SDKs & Integrations: Comprehensive SDKs for a broad range of languages (e.g., Python, JavaScript, Java, Go, .NET) and frameworks (e.g., React, Angular, Vue, Node.js), enabling easy setup and data ingestion.
- Open Source & Self-Hosting: The core Sentry platform is open source, allowing organizations to self-host for greater control over data and infrastructure, as detailed in the Sentry documentation.
Pricing
Sentry offers a free developer tier and tiered paid plans that scale with usage. Pricing is based on the volume of errors, transactions, and session replays. Annual billing typically offers a discount compared to monthly billing.
| Plan | Description | Monthly Cost (billed annually, as of 2026-05-08) | Included Usage (per month) |
|---|---|---|---|
| Developer | Free plan for individual developers and small projects. | Free | 5K errors, 10K transactions, 1K replays |
| Team | For small teams requiring robust error and performance monitoring. | $26 | 50K errors, 100K transactions, 1K replays |
| Business | For growing organizations needing advanced features and larger volumes. | Starts at $80 (for 100K errors) | Customizable based on error, transaction, and replay volume |
| Enterprise | For large organizations with specific compliance, security, and scaling needs. | Custom pricing | Customizable; includes dedicated support and advanced features |
For detailed pricing and usage overage costs, refer to the official Sentry pricing page.
Common integrations
- Version Control: GitHub, GitLab, Bitbucket (for linking commits to releases and issues).
- Issue Tracking: Jira, Azure DevOps, Asana (for creating and linking issues directly from Sentry).
- Communication: Slack, Microsoft Teams, Discord (for real-time alerts and notifications).
- Incident Management: PagerDuty, Opsgenie, VictorOps (for escalating critical issues).
- Deployment & CI/CD: Vercel, Netlify, Jenkins (for release tracking and associating errors with deployments).
- Customer Support: Zendesk, Intercom (for correlating errors with customer tickets).
- Data & Analytics: Google Analytics, Segment (for enhancing context with user data).
- Cloud Platforms: AWS Lambda, Google Cloud Functions, Azure Functions (for serverless error monitoring).
Alternatives
For organizations evaluating error monitoring and APM solutions, several alternatives to Sentry exist:
- Datadog: A comprehensive monitoring platform offering APM, infrastructure monitoring, log management, and security, often suited for broader observability needs.
- Rollbar: Focuses specifically on error tracking and debugging, providing detailed stack traces and context similar to Sentry.
- New Relic: An observability platform with strong APM capabilities, infrastructure monitoring, and synthetic monitoring, catering to full-stack visibility.
- AWS X-Ray: A tracing service provided by Amazon Web Services for analyzing and debugging distributed applications built using AWS resources.
- Google Cloud Trace: A distributed tracing system for Google Cloud customers, helping to diagnose latency issues in applications.
Getting started
To integrate Sentry into a JavaScript application, install the appropriate SDK and initialize it with your DSN (Data Source Name). This example demonstrates basic setup for a browser-based JavaScript application:
// Install the Sentry browser SDK
// npm install @sentry/browser
// yarn add @sentry/browser
import * as Sentry from "@sentry/browser";
Sentry.init({
// Replace with your actual DSN from Sentry project settings
dsn: "https://[email protected]/0",
integrations: [
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true,
}),
],
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// In production, we recommend adjusting this value in conjunction with sampling for better control.
tracesSampleRate: 1.0,
// Set `replaysSessionSampleRate` to 0.1 to capture 10% of sessions for replay.
replaysSessionSampleRate: 0.1,
// If you also want to sample user activity for replay, set `replaysOnErrorSampleRate` to a non-zero value.
// This is how you would sample 100% of sessions with an error occurrence.
replaysOnErrorSampleRate: 1.0,
});
function simulateError() {
try {
throw new Error("This is a test error from a Sentry-integrated application!");
} catch (e) {
Sentry.captureException(e);
console.error("Error captured by Sentry:", e);
}
}
// Simulate an error after a short delay
setTimeout(simulateError, 2000);
console.log("Sentry initialized. An error will be simulated in 2 seconds.");
This code snippet initializes Sentry with a placeholder DSN, enables session replay, and sets sampling rates for performance tracing and session replays. It then includes a function to explicitly capture an exception. Upon execution, Sentry will report the simulated error to your configured Sentry project. For specific language and framework guides, refer to the Sentry SDK documentation.