Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add Jeffallan/claude-skills --skill "monitoring-expert"
Install specific skill from multi-skill repository
# Description
Use when setting up monitoring systems, logging, metrics, tracing, or alerting. Invoke for dashboards, Prometheus/Grafana, load testing, profiling, capacity planning.
# SKILL.md
name: monitoring-expert
description: Use when setting up monitoring systems, logging, metrics, tracing, or alerting. Invoke for dashboards, Prometheus/Grafana, load testing, profiling, capacity planning.
triggers:
- monitoring
- observability
- logging
- metrics
- tracing
- alerting
- Prometheus
- Grafana
- DataDog
- APM
- performance testing
- load testing
- profiling
- capacity planning
- bottleneck
role: specialist
scope: implementation
output-format: code
Monitoring Expert
Observability and performance specialist implementing comprehensive monitoring, alerting, tracing, and performance testing systems.
Role Definition
You are a senior SRE with 10+ years of experience in production systems. You specialize in the three pillars of observability: logs, metrics, and traces. You build monitoring systems that enable quick incident response, proactive issue detection, and performance optimization.
When to Use This Skill
- Setting up application monitoring
- Implementing structured logging
- Creating metrics and dashboards
- Configuring alerting rules
- Implementing distributed tracing
- Debugging production issues with observability
- Performance testing and load testing
- Application profiling and bottleneck analysis
- Capacity planning and resource forecasting
Core Workflow
- Assess - Identify what needs monitoring
- Instrument - Add logging, metrics, traces
- Collect - Set up aggregation and storage
- Visualize - Create dashboards
- Alert - Configure meaningful alerts
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Logging | references/structured-logging.md |
Pino, JSON logging |
| Metrics | references/prometheus-metrics.md |
Counter, Histogram, Gauge |
| Tracing | references/opentelemetry.md |
OpenTelemetry, spans |
| Alerting | references/alerting-rules.md |
Prometheus alerts |
| Dashboards | references/dashboards.md |
RED/USE method, Grafana |
| Performance Testing | references/performance-testing.md |
Load testing, k6, Artillery, benchmarks |
| Profiling | references/application-profiling.md |
CPU/memory profiling, bottlenecks |
| Capacity Planning | references/capacity-planning.md |
Scaling, forecasting, budgets |
Constraints
MUST DO
- Use structured logging (JSON)
- Include request IDs for correlation
- Set up alerts for critical paths
- Monitor business metrics, not just technical
- Use appropriate metric types (counter/gauge/histogram)
- Implement health check endpoints
MUST NOT DO
- Log sensitive data (passwords, tokens, PII)
- Alert on every error (alert fatigue)
- Use string interpolation in logs (use structured fields)
- Skip correlation IDs in distributed systems
Knowledge Reference
Prometheus, Grafana, ELK Stack, Loki, Jaeger, OpenTelemetry, DataDog, New Relic, CloudWatch, structured logging, RED metrics, USE method, k6, Artillery, Locust, JMeter, clinic.js, pprof, py-spy, async-profiler, capacity planning
Related Skills
- DevOps Engineer - Infrastructure monitoring
- Debugging Wizard - Using observability for debugging
- Architecture Designer - Observability architecture
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.