Overview
Sentry is a platform designed for monitoring the health and performance of software applications. It provides developers with tools to track errors, monitor application performance, and gain insights into user experiences in real time. The platform supports a wide range of programming languages and frameworks through its extensive collection of SDKs, including Python, JavaScript, Java, .NET, Ruby, PHP, Go, and Node.js. For mobile development, Sentry offers specific SDKs for React Native, Flutter, iOS (Swift/Objective-C), and Android (Kotlin/Java), as well as Unity for game development.
When an error occurs in an application integrated with Sentry, the platform captures the event, along with detailed context such as the full stack trace, device information, user attributes, and the specific release version. This contextual data assists developers in understanding the root cause of issues without needing to reproduce them manually. Sentry aggregates similar errors, provides alert notifications, and helps prioritize critical issues based on their impact on users.
Beyond error tracking, Sentry's capabilities extend to performance monitoring, which allows teams to identify slow transactions, database queries, and API calls. It visualizes transaction traces, helping pinpoint performance bottlenecks across distributed systems. Additionally, the Session Replay feature captures user interactions leading up to an error or performance issue, providing visual context to debug complex user flows. This comprehensive approach aims to improve code quality, reduce debugging time, and enhance the overall stability and user experience of software products. Sentry is utilized by individual developers, small teams, and large enterprises to maintain application reliability and ensure consistent performance.
The platform is particularly beneficial for applications with frequent releases or complex architectures, where manual monitoring can be challenging. By integrating directly into the development workflow, Sentry helps teams proactively identify and address issues, contributing to a more stable production environment. For instance, in a mobile application, Sentry can capture crashes and ANRs (Application Not Responding) on Android devices, providing insights into device-specific issues and user impact, as detailed in the Android ANR documentation. Similarly, for iOS applications, it tracks crashes and exceptions, delivering diagnostic data relevant to the Xcode Diagnostics tools.
Key features
- Error Monitoring: Real-time detection and aggregation of application errors, including unhandled exceptions, crashes, and log errors. Provides stack traces, context, and user data for debugging.
- Performance Monitoring: Traces transactions across services to identify latency, slow database queries, and inefficient API calls. Offers dashboards and alerts for performance regressions.
- Session Replay: Records user sessions to visually reproduce issues and understand user interactions leading up to an error or performance problem, enhancing debugging context.
- Release Health: Monitors the stability and adoption of new releases, tracking crash-free user rates and performance metrics post-deployment to assess release quality.
- Code Coverage: Integrates with testing workflows to provide insights into code paths exercised by tests and identify areas lacking test coverage.
- Alerting & Workflow: Configurable alerts for new errors, spikes, or regressions, with integrations into common communication and project management tools.
- Source Map Support: Automatically processes source maps for JavaScript and other transpiled languages, enabling debugging with original source code.
- SDK Support: Offers SDKs for over 20 languages and frameworks, including mobile platforms like React Native, Flutter, iOS, and Android, and web frameworks such as Angular, React, and Vue.
Pricing
Sentry offers a free developer tier and tiered paid plans as of May 8, 2026. Detailed pricing information is available on the Sentry pricing page.
| Plan | Monthly Cost | Errors Included | Transactions Included | Session Replays Included |
|---|---|---|---|---|
| Developer (Free) | $0 | 5,000 | 10,000 | 100 |
| Team | $26 | 40,000 | 80,000 | 1,000 |
| Business | Custom | Custom | Custom | Custom |
| Enterprise | Custom | Custom | Custom | Custom |
Common integrations
- JavaScript: Integrates with frameworks like React, Angular, Vue, and Next.js for web application monitoring. Refer to the Sentry JavaScript documentation for setup.
- Python: Supports Django, Flask, and other Python applications for backend error and performance tracking. See Sentry Python integration guides.
- Java: Provides integration for Spring Boot, Android, and other JVM-based applications. Consult the Sentry Java platform documentation.
- React Native: Essential for mobile app crash reporting and performance monitoring in React Native projects. Setup details are in the Sentry React Native SDK documentation.
- Flutter: Offers comprehensive error and performance insights for Flutter applications across mobile and web. Find setup instructions on the Sentry Flutter integration page.
- iOS/Swift: Native integration for Apple platforms, capturing crashes, ANRs, and performance metrics. See the Sentry Apple platform documentation.
- Android/Kotlin: Native integration for Android applications, providing crash reporting and performance monitoring. Refer to the Sentry Android platform documentation.
- Unity: For game developers, Sentry integrates with Unity to track errors and performance in game builds. Details are on the Sentry Unity documentation page.
- Node.js: Supports Node.js applications, including frameworks like Express and NestJS, for backend monitoring. Check the Sentry Node.js platform documentation.
Alternatives
- Datadog: A comprehensive monitoring and analytics platform for cloud infrastructure, applications, and logs, offering broader observability features.
- New Relic: An observability platform providing application performance monitoring (APM), infrastructure monitoring, log management, and more.
- Bugsnag: Focuses specifically on error monitoring and stability management for web, mobile, and server-side applications.
Getting started
To integrate Sentry into a basic Python application, you would typically install the Sentry SDK and initialize it with your DSN (Data Source Name). This example demonstrates how to capture an exception:
import sentry_sdk
sentry_sdk.init(
dsn="YOUR_SENTRY_DSN_HERE",
traces_sample_rate=1.0 # Capture 100% of transactions for performance monitoring
)
def divide_by_zero():
try:
result = 1 / 0
print(result)
except Exception as e:
sentry_sdk.capture_exception(e)
print("An error was captured by Sentry.")
divide_by_zero()
print("Application finished.")
Replace "YOUR_SENTRY_DSN_HERE" with the actual DSN from your Sentry project settings. The traces_sample_rate parameter is used for configuring performance monitoring, where 1.0 means all transactions are sampled. After running this code, an error event will be sent to your Sentry dashboard, providing details about the ZeroDivisionError.