Agent skill · data analytics · jeremylongshore

sentry-observability

Integrate Sentry with your observability stack \u2014 logging, metrics,\

Why this skill is useful

Provides specific integration patterns and code snippets for linking Sentry with structured logging and metrics tools that the AI wouldn't reliably generate on its own.

What it needs

Requires @sentry/node, pino, structlog, winston installed locally. Requires sentry account access. About 7k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Sentry Observability Integration Overview Wire Sentry into your logging, metrics, APM, and dashboard toolchain so every error carries full context and every metric correlates back to root-cause events. This skill covers three integration layers: structured logging (winston, pino, structlog) with Sentry event ID correlation, business metrics with error-rate tracking, and cross-tool linking via Sentry Discover, Grafana webhooks, and APM tools. See also: Logging integration details Metrics patterns APM tool cross-linking Prerequisites Sentry SDK v8+ installed (@sentry/node for Node.js, sentry-sdk for Python) At least one structured logger configured (winston, pino, or structlog) Sentry project DSN available in environment (SENTRYDSN) Dashboard platform accessible (Sentry Discover, Grafana, or Datadog) Alert routing strategy decided (who gets paged, where warnings go) Instructions Step 1 — Attach Sentry Event IDs to Structured Logs The core pattern: every log line that triggers a Sentry event carries the event ID, and every Sentry event carries the log context. This creates a two-way link between your log aggregator and Sentry. Winston (Node.js) — custom transport: Pino (Node.js) — hooks pattern: For Python structlog integration, see logging-integration.md. Request ID correlation middleware: Step 2 — Correlate Errors with Business Metrics and APM Connect Sentry events to your metrics pipeline and decide when Sentry performance monitoring is sufficient versus when to add Datadog or New Relic. Sentry custom metrics (built-in, no extra tools): For Prometheus dual-write patterns, see metrics-integration.md. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/sentry-observability--5055a9

View the source on GitHub

Browse the @skills marketplace