Production Prometheus setup covering scrape configuration, service discovery, recording rules, alert rules, and operational best practices for infrastructure and application monitoring.
- Core prometheus.yml configuration (scrape intervals, external labels, alertmanager)
- Service discovery methods (static, file-based, Kubernetes pods, Consul, EC2)
- Recording rules for pre-computing expensive queries
- Alert rules by category (availability, resources) with severity guide
- Kubernetes installation via Helm
- Naming conventions for metrics and recording rules
- Validation commands (promtool, config reload)
- Best practices (HA deployment, retention planning, federation, long-term storage)
- Troubleshooting quick reference
- Template files (prometheus.yml, alert-rules.yml, recording-rules.yml)
- Setting up metrics collection for new services
- Configuring service discovery (Kubernetes, file-based, static)
- Creating recording rules for dashboard performance
- Designing SLO-based alert rules
- Production deployment with HA and retention planning
- Troubleshooting scraping issues
npx add https://github.com/wpank/ai/tree/main/skills/devops/prometheusnpx clawhub@latest install prometheus-devopsFrom your project root:
mkdir -p .cursor/skills
cp -r ~/.ai-skills/skills/devops/prometheus .cursor/skills/prometheusmkdir -p ~/.cursor/skills
cp -r ~/.ai-skills/skills/devops/prometheus ~/.cursor/skills/prometheusFrom your project root:
mkdir -p .claude/skills
cp -r ~/.ai-skills/skills/devops/prometheus .claude/skills/prometheusmkdir -p ~/.claude/skills
cp -r ~/.ai-skills/skills/devops/prometheus ~/.claude/skills/prometheusPart of the DevOps skill category.