Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsApr 10, 2026·3 min de lectura

Sentry — Open Source Error Tracking & Performance Monitoring

Sentry is the developer-first error tracking and performance monitoring platform. Capture exceptions, trace performance issues, and debug production errors across all languages.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
step-1.md
Comando de instalación directa
npx -y tokrepo@latest install ece57add-34d8-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con dry-run.

TL;DR
Sentry captures exceptions, traces performance, and helps debug production errors across all major programming languages.
§01

What it is

Sentry is a developer-first platform for error tracking and performance monitoring. It captures unhandled exceptions, logs stack traces with full context, and surfaces performance bottlenecks in production applications. Sentry supports Python, JavaScript, Go, Java, Ruby, PHP, and dozens of other languages and frameworks.

The tool is used by development teams of all sizes who need real-time visibility into application health. From solo developers to large engineering organizations, Sentry provides the same core workflow: an error fires, Sentry groups it, and you get an actionable alert with the stack trace, breadcrumbs, and affected user data.

§02

How it saves time or tokens

Without Sentry, debugging production errors requires searching through log files, reproducing issues locally, and guessing at root causes. Sentry reduces this cycle by automatically capturing the error context: stack trace, request data, user info, and the sequence of events (breadcrumbs) leading to the crash. The average time from error to diagnosis drops significantly.

§03

How to use

  1. Create a Sentry project and grab your DSN (Data Source Name).
  2. Install the SDK for your language or framework.
  3. Initialize Sentry in your application entry point.
# Python example
import sentry_sdk

sentry_sdk.init(
    dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
    traces_sample_rate=1.0,
    profiles_sample_rate=1.0,
)

# Errors are captured automatically
# You can also capture manually:
try:
    process_order(order_id)
except Exception as e:
    sentry_sdk.capture_exception(e)
§04

Example

// Next.js integration
import * as Sentry from '@sentry/nextjs';

Sentry.init({
  dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0',
  tracesSampleRate: 1.0,
});

// All unhandled errors in API routes and pages
// are automatically captured and grouped
§05

Related on TokRepo

  • DevOps tools — Explore monitoring and deployment tools for production systems
  • Testing tools — Complement error tracking with automated test coverage
§06

Common pitfalls

  • Setting traces_sample_rate to 1.0 in high-traffic production sends every transaction to Sentry, which burns through your event quota fast. Start with 0.1 and adjust upward.
  • Forgetting to configure source maps for JavaScript means stack traces show minified code, making them unreadable.
  • Sentry groups errors by stack trace by default; custom fingerprinting may be needed for errors that share stack traces but have different root causes.

Preguntas frecuentes

Is Sentry free for small teams?+

Sentry offers a free Developer plan that includes 5,000 errors per month, one user, and basic features. For teams, the Team plan starts at a monthly fee and includes more events, multiple users, and additional features like performance monitoring dashboards.

Can I self-host Sentry?+

Yes. Sentry is open source and provides official Docker-based self-hosting instructions. Self-hosting gives you full control over data retention and privacy. The trade-off is that you manage infrastructure, updates, and scaling yourself.

How does Sentry group duplicate errors?+

Sentry uses a fingerprinting algorithm based on the stack trace, exception type, and error message. Identical errors across multiple users get grouped into a single 'issue' with a count. You can override the default fingerprinting with custom rules if the automatic grouping is too broad or too narrow.

Does Sentry support performance monitoring?+

Yes. Sentry traces transactions end-to-end, showing you how long each database query, API call, and template render takes. Performance issues like N+1 queries and slow spans are detected automatically and surfaced as performance issues alongside errors.

What languages and frameworks does Sentry support?+

Sentry has official SDKs for Python, JavaScript (React, Next.js, Vue, Angular), Go, Java, Kotlin, Ruby, PHP, .NET, Rust, Swift, and more. Community SDKs extend coverage to additional platforms. Each SDK follows language-specific conventions for error capture and context.

Referencias (3)

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados