monitoring-observability
Installation
Summary
Comprehensive monitoring setup with metrics collection, log aggregation, alerting, and health checks.
- Covers Prometheus for metrics instrumentation, Grafana dashboards for visualization, and structured logging with Winston for log aggregation
- Includes pre-built alert rules for high error rates, slow response times, pod failures, and resource saturation
- Provides advanced health check endpoints that test database, cache, and external API dependencies with latency tracking
- Implements the four golden signals framework: latency percentiles, request volume, error rates, and resource utilization
SKILL.md
Monitoring & Observability
When to use this skill
- Before Production Deployment: Essential monitoring system setup
- Performance Issues: Identify bottlenecks
- Incident Response: Quick root cause identification
- SLA Compliance: Track availability/response times
Instructions
Step 1: Metrics Collection (Prometheus)
Application Instrumentation (Node.js):
import express from 'express';
import promClient from 'prom-client';