Agent skill · data analytics · aiskillstore
prometheus-configuration
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.
Why this skill is useful
Provides specific scrape configurations and alerting rules for Prometheus that the AI wouldn't reliably generate on its own.
What it needs
Requires docker, helm installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
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 Prometheus Architecture Installation Kubernetes with Helm Docker Compose Configuration File prometheus.yml: Reference: See assets/prometheus.yml.template Scrape Configurations Static Targets File-based Service Discovery targets/production.json: Kubernetes Service Discovery Reference: See references/scrape-configs.md Recording Rules Create pre-computed metrics for frequently queried expressions: Reference: See references/recording-rules.md Alert Rules Validation Reference: See scripts/validate-prometheus.sh Best Practices 1. Use consistent naming for metrics (prefixnameunit) 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: Check configuration: Test query: Reference Files assets/prometheus.yml.template - Complete configuration template references/scrape-configs.md - Scrape configuration patterns references/recording-rules.md - Recording rule examples scripts/validate-prometheus.sh - Validation script Related Skills grafana-dashboards - For visualization slo-implementation - For SLO monitoring distributed-tracing - For request tracing
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/prometheus-configuration--ea7766