sentry-node-sdk

Automate Sentry integration for Node.js, Bun, and Deno backends.

Updated Jul 4, 2021
One-click install
npx skills add https://github.com/Valor-mmm/time-calculator --skill sentry-node-sdk-valor-mmm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-node-sdk
Source: https://github.com/Valor-mmm/time-calculator/tree/main/.agents/skills/sentry-node-sdk
Command: npx skills add https://github.com/Valor-mmm/time-calculator --skill sentry-node-sdk-valor-mmm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates Sentry integration for Node.js, Bun, and Deno backends with a unified setup across runtimes and frameworks.

Core Features & Use Cases

  • Cross-runtime Sentry initialization for server-side JavaScript runtimes: Node.js, Bun, and Deno.
  • Phase-guided setup (detection, recommendation, guide, cross-link) with framework-aware error handling.
  • Comprehensive coverage for common frameworks (Express, Fastify, Koa, Hapi, Connect) and companion frontends/backends.
  • Real-world usage: set up instrumentation, error handlers, and optional features across runtimes.

Quick Start

Install Sentry for your runtime and load the instrument file before any other code to enable automatic tracing and error monitoring.

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 for a Node.js backend?

To set up Sentry error monitoring for a Node.js backend, install the Sentry packages and load an instrument file before any other code. This enables automatic tracing and error handlers across your runtime and frameworks.

Does Sentry SDK work with Bun and Deno runtimes?

Yes, Sentry SDK works with Bun and Deno runtimes. It provides cross-runtime Sentry initialization for server-side JavaScript, ensuring error monitoring, tracing, and profiling are configured across Node.js, Bun, and Deno.

What is the best way to configure Sentry tracing in an Express application?

The best way to configure Sentry tracing in Express is through a phase-guided setup that detects your framework and recommends specific error handlers. Loading the instrument file upfront ensures automatic tracing and comprehensive error monitoring.

Can I use Sentry for cron monitoring and AI observability in my backend?

Yes, you can use Sentry for cron monitoring and AI observability in your backend. The setup automates these features alongside error monitoring, logging, and profiling across supported runtimes and frameworks.

Why does my Sentry instrumentation not capture errors in my Fastify app?

Sentry instrumentation may not capture errors in Fastify if the instrument file is not loaded before any other code. Proper setup requires placing the instrumentation upfront to ensure framework-aware error handlers activate correctly.

Do I need to manually configure error handlers for Koa when using Sentry?

No, you do not need to manually configure error handlers for Koa. The setup provides framework-aware error handling for common frameworks like Koa, automatically configuring runtime-specific handlers during the guided integration phases.