prometheus-configuration – DevOps & Infrastructure skill for AI agents
Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.
Install the prometheus-configuration skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /prometheus-configuration – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $prometheus-configuration – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /prometheus-configuration – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /prometheus-configuration – then describe the task you want done.
SKILL.md content
Prometheus Configuration
Complete guide to Prometheus setup, metric collection, scrape configuration, and recording rules.
Purpose
Configure Prometheus for comprehensive metric collection, alerting, and monitoring of infrastructure and applications.
When to Use
- Set up Prometheus monitoring
- Configure metric scraping
- Create recording rules
- Design alert rules
- Implement service discovery
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Best Practices
1. Use consistent naming for metrics (prefix_name_unit)
2. Set appropriate scrape intervals (15-60s typical)
3. Use recording rules for expensive queries
4. Implement high availability (multiple Prometheus instances)
5. Configure retention based on storage capacity
6. Use relabeling for metric cleanup
7. Monitor Prometheus itself
8. Implement federation for large deployments
9. Use Thanos/Cortex for long-term storage
10. Document custom metrics
Troubleshooting
Check scrape targets:
curl http://localhost:9090/api/v1/targetsCheck configuration:
curl http://localhost:9090/api/v1/status/configTest query:
curl 'http://localhost:9090/api/v1/query?query=up'Related Skills
grafana-dashboards- For visualizationslo-implementation- For SLO monitoringdistributed-tracing- For request tracing
Related skills
- gcp-cloud-architect – Design GCP architectures for startups and enterprises. Use when asked to design Google…
- bumblebee – Run Bumblebee supply-chain inventory and exposure scans on macOS/Linux to detect…
- cdk-patterns – Common AWS CDK patterns and constructs for building cloud infrastructure with…
- offensive-osint – Operational arsenal for authorized external red-team and bug-bounty recon. Concrete…
- circleci – Configure CircleCI workflows and orbs for continuous integration and deployment.
- claude-monitor – Monitor de performance do Claude Code e sistema local. Diagnostica lentidao, mede…
- cloud-architect – Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design…
- cloud-devops – Cloud infrastructure and DevOps workflow covering AWS, Azure, GCP, Kubernetes…