PR

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.zip

Installs 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.
227 chars✓ has a “when” trigger
Advanced

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

You give it
Prometheus configuration parameters
You get back
Operational monitoring system

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

  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/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 visualization
  • slo-implementation - For SLO monitoring
  • distributed-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

Prometheus server

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.

SkillInstallsUpdatedSafetyDifficulty
prometheus-configuration (this skill)62moReviewAdvanced
observability-engineer124moNo flagsAdvanced
appinsights-instrumentation67moReviewBeginner
cloudwatch17moReviewIntermediate

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.

1242

appinsights-instrumentation

github

Instrument a webapp to send useful telemetry data to Azure App Insights

66

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.

12

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.

12

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

12

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.

00

Search skills

Search the agent skills registry