sentry-node-sdk

Configure Sentry SDKs for Node.js, Bun, and Deno environments.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/achmf/KostaHub --skill sentry-node-sdk-achmf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-node-sdk
Source: https://github.com/achmf/KostaHub/tree/main/.agents/skills/sentry-node-sdk
Command: npx skills add https://github.com/achmf/KostaHub --skill sentry-node-sdk-achmf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @sentry/node, @sentry/bun, @sentry/deno, @sentry/node-core, @opentelemetry/api, @opentelemetry/sdk-trace-node, @opentelemetry/sdk-trace-base, and includes references (resource) components.

What problem does it solve?

This skill eliminates the complexity of configuring error monitoring, tracing, and observability for server-side JavaScript runtimes, ensuring your backend services are resilient and debuggable.

Core Features & Use Cases

  • Automated SDK Setup: Guides you through the installation and initialization of Sentry for Node.js, Bun, and Deno.
  • Observability Suite: Configures error monitoring, distributed tracing, logging, profiling, and AI monitoring.
  • Use Case: If you are deploying a new Express or Fastify API, use this skill to automatically instrument your routes, capture unhandled exceptions, and correlate logs with performance traces.

Quick Start

Invoke the sentry-node-sdk skill to scan your current project directory and guide you through the recommended Sentry installation and configuration steps for your specific runtime and framework.

Frequently Asked Questions about sentry-node-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Sentry error monitoring and distributed tracing for a Node.js backend?

To set up Sentry error monitoring, initialize the Sentry Node SDK to automatically instrument unhandled exceptions, capture performance traces, and correlate logs across your backend services.

Can I use Sentry SDK tracing with my existing OpenTelemetry setup in Express or Fastify?

Yes, Sentry SDK tracing integrates with existing OpenTelemetry setups via OTLP, allowing you to maintain distributed tracing and error tracking without replacing your current observability architecture.

Does Sentry SDK support error tracking for Bun and Deno runtimes alongside Node.js?

Yes, Sentry SDK provides dedicated packages for Bun and Deno runtimes, enabling comprehensive error tracking, distributed tracing, and performance profiling across all three server-side JavaScript environments.

What's the best way to monitor cron jobs and AI requests in a NestJS application?

The best way to monitor cron jobs and AI requests is using Sentry's automated instrumentation for NestJS, which configures runtime metrics, cron job monitoring, and AI request tracking out of the box.

How does Sentry handle performance profiling and logging correlation for backend APIs?

Sentry handles performance profiling by configuring distributed tracing and logging within the SDK, ensuring that backend API performance traces are automatically correlated with captured errors and log events.

What frameworks are automatically instrumented by Sentry for server-side JavaScript observability?

Sentry automatically instruments Express, Fastify, Koa, Hapi, and NestJS frameworks to provide production-grade observability, capturing route-level errors and performance traces without manual instrumentation.