monitoring-alerting

Implement Prometheus and CloudWatch monitoring with Grafana dashboards for Node.js applications.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/chavangorakh1999/sde-skills --skill monitoring-alerting-chavangorakh1999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitoring-alerting
Source: https://github.com/chavangorakh1999/sde-skills/tree/main/sde-devops/skills/monitoring-alerting
Command: npx skills add https://github.com/chavangorakh1999/sde-skills --skill monitoring-alerting-chavangorakh1999

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires prom-client, @aws-sdk/client-cloudwatch, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining system reliability and performance by establishing comprehensive monitoring and alerting strategies for Node.js applications.

Core Features & Use Cases

  • Metrics Collection: Implements Prometheus metrics for key application and system-level data (latency, errors, traffic, saturation).
  • Alerting: Defines Prometheus Alertmanager rules for critical conditions, including high error rates, latency spikes, and service downtime.
  • Observability: Integrates with tools like Grafana for visualization and CloudWatch for custom metric emission in AWS environments.
  • SLO Management: Provides guidance on setting up Service Level Objective (SLO)-based alerting to proactively manage error budgets.
  • Use Case: When deploying a new microservice, use this Skill to define its golden signals, set up Prometheus exporters, configure Grafana dashboards, and establish PagerDuty alerts for critical failures.

Quick Start

Configure Prometheus metrics and alerting rules for a Node.js application by following the provided examples.

Frequently Asked Questions about monitoring-alerting

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

FAQPage Schema
How do I set up Prometheus metrics for Node.js applications?

Prometheus metrics for Node.js are set up using the prom-client library to collect the four golden signals. This Skill provides scripts to track latency, errors, traffic, and saturation data for comprehensive observability.

How does SLO-based alerting work with Prometheus Alertmanager?

SLO-based alerting with Prometheus Alertmanager works by defining rules that trigger when error budgets are depleted. This Skill configures alerts for high error rates, latency spikes, and downtime to manage service reliability proactively.

Can I emit custom CloudWatch metrics from my Node.js application?

You can emit custom CloudWatch metrics from Node.js using the AWS SDK. This Skill includes configurations for CloudWatch integration to capture custom business metrics alongside Prometheus data in AWS environments.

What are the four golden signals of monitoring and how do I track them?

The four golden signals of monitoring are latency, errors, traffic, and saturation. This Skill helps track them by implementing Prometheus exporters and defining Grafana dashboards to visualize system health and performance.

Does this monitoring approach integrate with Grafana for visualization?

Yes, this monitoring approach integrates with Grafana for visualization. It provides setup guidance to configure Grafana dashboards that visualize Prometheus metrics and SLO data for proactive incident detection.