prometheus-configuration
This skill provides patterns for Prometheus configuration, including scrape intervals, alert rules, and integration with visualization tools.
Install
mkdir -p .claude/skills/prometheus-configuration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2116" && unzip -o skill.zip -d .claude/skills/prometheus-configuration && rm skill.zipInstalls to .claude/skills/prometheus-configuration
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
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.Key capabilities
- →Configure metric scrape intervals
- →Define recording rules for query optimization
- →Implement alert rules for monitoring
- →Set up service discovery for targets
- →Configure long-term storage integration
How it works
The skill provides configuration patterns for Prometheus to scrape metrics from targets and evaluate rules for alerting and recording.
Inputs & outputs
When to use prometheus-configuration
- →Configure Prometheus scraping
- →Create monitoring alert rules
- →Set up metrics collection
- →Implement recording rules
About this skill
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
- Use consistent naming for metrics (prefix_name_unit)
- Set appropriate scrape intervals (15-60s typical)
- Use recording rules for expensive queries
- Implement high availability (multiple Prometheus instances)
- Configure retention based on storage capacity
- Use relabeling for metric cleanup
- Monitor Prometheus itself
- Implement federation for large deployments
- Use Thanos/Cortex for long-term storage
- Document custom metrics
Troubleshooting
Check scrape targets:
curl http://localhost:9090/api/v1/targets
Check configuration:
curl http://localhost:9090/api/v1/status/config
Test query:
curl 'http://localhost:9090/api/v1/query?query=up'
Related Skills
grafana-dashboards- For visualizationslo-implementation- For SLO monitoringdistributed-tracing- For request tracing
When not to use it
- →When the infrastructure does not support Prometheus metrics
- →When simple logging is sufficient for monitoring needs
Prerequisites
Limitations
- →Requires external tools like Thanos for long-term storage
- →Performance depends on scrape interval settings
How it compares
It provides structured configuration patterns for scaling and reliability compared to a default, unoptimized installation.
Compared to similar skills
prometheus-configuration side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| prometheus-configuration (this skill) | 6 | 2mo | Review | Advanced |
| observability-engineer | 12 | 4mo | No flags | Advanced |
| appinsights-instrumentation | 6 | 7mo | Review | Beginner |
| cloudwatch | 1 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by wshobson
View all by wshobson →You might also like
observability-engineer
sickn33
Build production-ready monitoring, logging, and tracing systems. Implements comprehensive observability strategies, SLI/SLO management, and incident response workflows. Use PROACTIVELY for monitoring infrastructure, performance optimization, or production reliability.
appinsights-instrumentation
github
Instrument a webapp to send useful telemetry data to Azure App Insights
cloudwatch
itsmostafa
AWS CloudWatch monitoring for logs, metrics, alarms, and dashboards. Use when setting up monitoring, creating alarms, querying logs with Insights, configuring metric filters, building dashboards, or troubleshooting application issues.
devops-troubleshooter
sickn33
Expert DevOps troubleshooter specializing in rapid incident response, advanced debugging, and modern observability. Masters log analysis, distributed tracing, Kubernetes debugging, performance optimization, and root cause analysis. Handles production outages, system reliability, and preventive monitoring. Use PROACTIVELY for debugging, incident response, or system troubleshooting.
observability-monitoring-monitor-setup
sickn33
You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da
Logging and Monitoring for Agentic Workflows
Hack23
Comprehensive observability patterns for GitHub Agentic Workflows including structured logging, metrics collection, alerting strategies, debugging techniques, and production monitoring best practices for autonomous agent systems.