Back to services

Sentry Self-Hosted

Powerful error tracking platform with wide language support and a robust API.

View alternatives to Sentry Self-Hosted
Suggest edit
Open source
Self-hostable
busl-1-1
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: Fetching the official website (the GitHub repository page) failed this time. The content below is compiled from what is known about the project. Please refer to the repository README and the official documentation for specific version requirements and steps.

Introduction

Sentry is a widely used application monitoring platform, mainly for error tracking and performance monitoring. Sentry Self-Hosted (repository getsentry/self-hosted) is the officially maintained self-hosted solution. It uses Docker Compose to package Sentry together with the services it depends on, so you can deploy Sentry on your own infrastructure without handing your data over to a SaaS service.

Key Features

  • Error and exception tracking: Automatically captures exceptions in your application, along with stack traces, context, breadcrumbs, and user information.
  • Issue grouping: Merges similar errors into a single Issue, making them easier to assign, handle, and follow up on.
  • Performance monitoring: Analyzes slow requests and performance bottlenecks based on transactions and tracing.
  • Release association: Links errors to releases and commits, helping you pinpoint which release introduced a problem.
  • Alert notifications: Sends alerts based on rules and integrates with common collaboration and notification tools.
  • Multi-language SDKs: Official SDKs cover JavaScript, Python, Java, Go, PHP, Ruby, .NET, mobile, and many other languages and platforms.

Target Users and Use Cases

  • Teams that must keep monitoring data on their internal network because of data compliance or privacy requirements
  • Development teams that want control over their own infrastructure and don't want to depend on a SaaS
  • Enterprises that need error monitoring in an internal or isolated environment

The official position is generally that the self-hosted edition is suited to low-to-medium traffic or proof-of-concept scenarios. For high-traffic production environments, it is usually recommended to use Sentry's SaaS service or to invest in the corresponding operations resources.

Deployment

The basic process is as follows:

git clone https://github.com/getsentry/self-hosted.git
cd self-hosted
# It is recommended to check out an official release tag
./install.sh
docker compose up -d

The install script handles the initial setup, including pulling images, migrating the database, and creating an administrator account. Once deployment is complete, you can access the web interface in a browser (default port 9000). To upgrade, you generally switch to a new release tag and run the install script again. Some versions require you to pass through specific intermediate versions, so check the official notes before upgrading.

Technical Requirements

  • Docker and Docker Compose are required
  • Resource consumption is fairly heavy: the full stack includes multiple components such as PostgreSQL, Redis, Kafka, ClickHouse, Snuba, Relay, and Symbolicator, and places high demands on CPU, memory, and disk. Please refer to the official documentation for the exact minimum specifications; you will typically need a multi-core CPU and more than a dozen GB of memory.

Notable Characteristics

  • Maintained by the Sentry team, with an update cadence that largely tracks the mainline releases
  • Features are largely the same as the SaaS version, though some features may only be available in the cloud edition
  • Sentry's source code is released under Sentry's own source-available license, which is not a traditional OSI open source license. Please review the specific license terms before use
  • With many components and a complex architecture, operational costs are high, so you need to plan for backups, monitoring, and capacity