Skip to content
Skillpedia
Analysis & spreadsheets41k · #6742

prometheus-configuration

What it does

This tool helps you set up Prometheus, a system for collecting and monitoring performance data from your infrastructure and applications. It ensures you can see what's happening and get alerted if something goes wrong.

When to use it

  • ✓When you need to start monitoring your systems.
  • ✓When configuring how to collect performance data.
  • ✓To create rules that warn about problems.

Skill link

https://github.com/wshobson/agents/blob/main/plugins/observability-monitoring/skills/prometheus-configuration/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/observability-monitoring/skills/prometheus-configuration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Set up Prometheus to collect metrics from my web servers.”

5 new skills a week. 1 minute to read.

How it works

You provide information about what data to collect and how to collect it. The tool organizes these settings so Prometheus can start monitoring your systems automatically.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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
FAQ

What are 'metrics'?

Metrics are like vital signs for your systems. They measure things like CPU usage, memory, or the number of requests a server is receiving.

What is 'scraping'?

Scraping is the process where Prometheus goes to your systems and 'collects' the metrics they are reporting.

What are 'recording rules' and 'alerting rules'?

Recording rules help pre-calculate metrics that are used frequently. Alerting rules define conditions that, when met, trigger a warning.

Details

Original description by the author

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.

repo: wshobson/agents

Popularity

GitHub stars
41k
Ranking position
#6742
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills