sentry-setup-metrics

Configure Sentry custom metrics for JavaScript and Python applications.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/DMT123/claude-skills-collection --skill sentry-setup-metrics-dmt123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-setup-metrics
Source: https://github.com/DMT123/claude-skills-collection/tree/main/plugins/sentry/sentry-setup-metrics
Command: npx skills add https://github.com/DMT123/claude-skills-collection --skill sentry-setup-metrics-dmt123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of integrating Sentry's custom metrics into your application, allowing you to track key performance indicators and application health.

Core Features & Use Cases

  • Metric Setup: Configure counters, gauges, and distributions in Sentry.
  • Platform Support: Works with JavaScript (React, Next.js, Node.js) and Python (Django, Flask, FastAPI).
  • Use Case: You need to track the number of user sign-ups per hour, the current queue depth of background jobs, and the distribution of API response times. This Skill will guide you through setting up these metrics in Sentry.

Quick Start

Use the sentry-setup-metrics skill to add custom metrics to your Node.js application.

Frequently Asked Questions about sentry-setup-metrics

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

FAQPage Schema
How do I set up custom metrics in Sentry for Python and JavaScript applications?

Setting up Sentry custom metrics involves configuring counters, gauges, and distributions using platform-specific APIs. This Skill guides you through metric types, platform detection, and SDK usage for JavaScript and Python applications to track performance and business KPIs.

What is the difference between counters, gauges, and distributions in Sentry metrics?

In Sentry metrics, counters track cumulative values like sign-ups, gauges measure current state like queue depth, and distributions capture value spreads like API response times. This Skill helps implement these metric types for monitoring application health and performance.

Does Sentry metrics instrumentation work with frameworks like Next.js and Django?

Yes, Sentry metrics instrumentation works with JavaScript frameworks like React, Next.js, and Node.js, plus Python frameworks including Django, Flask, and FastAPI. The Skill supports various SDK versions for effective application performance monitoring across these platforms.

How do I track API response times and user sign-ups using Sentry metrics?

To track API response times and user sign-ups using Sentry metrics, you use distribution metrics for response times and counter metrics for sign-ups. This Skill provides the API guidance needed to instrument these custom metrics within your JavaScript or Python application.

How do I instrument a Node.js application with Sentry custom metrics?

To instrument a Node.js application with Sentry custom metrics, you use the JavaScript SDK to configure counters, gauges, and distributions. This Skill provides platform detection and API usage guidance for adding metrics to Node.js applications.