From aj-geddes-useful-ai-prompts-4
Sets up infrastructure monitoring with Prometheus, Grafana, and alerting for metrics, health checks, and performance tracking.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:infrastructure-monitoringThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Implement comprehensive infrastructure monitoring to track system health, performance metrics, and resource utilization with alerting and visualization across your entire stack.
Minimal working example:
# prometheus.yml
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: "infrastructure-monitor"
environment: "production"
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
- localhost:9093
# Rule files
rule_files:
- "alerts.yml"
- "rules.yml"
scrape_configs:
# Prometheus itself
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Prometheus Configuration | Prometheus Configuration |
| Alert Rules | Alert Rules |
| Alertmanager Configuration | Alertmanager Configuration |
| Grafana Dashboard | Grafana Dashboard |
| Monitoring Deployment | Monitoring Deployment |
npx claudepluginhub aj-geddes/useful-ai-promptsSet up Prometheus monitoring for applications with custom metrics, scraping configurations, and service discovery. Use when implementing time-series metrics collection or building observability infrastructure.
Deploys monitoring stacks like Prometheus, Grafana, Datadog with exporters, scrape targets, alerting rules, Grafana dashboards for Kubernetes or Docker.
Configures Prometheus for metric collection, storage, and monitoring of infrastructure and applications. Use when setting up scraping, recording rules, alerting, or service discovery.