← All open source projects

Sentry

getsentry/sentry

Sentry is an open source platform for application error tracking and performance monitoring.

Forks 4,729
Author getsentry
Language Python
License NOASSERTION
Synced 2026-06-27

What it is

Sentry is a platform for tracking application errors and performance. It helps a team see not only that a failure happened, but also stack trace, release, user, environment, and frequency.

The project grew from a simple idea: an exception should become an actionable developer task. Releases, grouping, traces, and integrations grew around that idea.

What is inside

The repository contains Sentry server code, web UI, event processing, issue grouping, projects, organizations, releases, integrations, and many internal services.

Sentry differs from simple logging because it connects an error with developer action through source maps, releases, environments, tags, and context.

How it is used

Teams connect an SDK, send errors, and watch which problems affect users. It helps catch release regressions without relying only on complaints.

Effective use needs noise filtering, privacy rules, notifications, and project ownership.

Strengths and limits

The strength is connecting an error with product and technical context. A developer sees a real failure trail, not only a log line.

The limitation is operational and organizational complexity. Teams need rules for what to send, who responds, and how long data is stored.

Sentry becomes most useful when releases and code ownership are configured so problems reach the right people.

The practical value of Sentry is easiest to see through a small verifiable scenario: take the task the project was made for and follow it to a result. Sentry helps developers see errors, traces, and performance problems by connecting failures with releases, users, and runtime context. That separates real usefulness from a nice description.

If Sentry stays in use beyond the first experiment, maintenance starts to matter as much as features: updates, clear responsibility boundaries, testable examples, and the project’s place in the existing system. That is where real strengths and limits usually appear.

Example

Минимальное подключение SDK

Пример показывает базовую идею: инициализировать SDK и отправить исключение вместе с контекстом приложения.

Language: Python
import sentry_sdk

sentry_sdk.init(dsn="https://example@sentry.io/1")

try:
    raise RuntimeError("payment failed")
except Exception as error:
    sentry_sdk.capture_exception(error)