prometheus-monitoring

aj-geddes/useful-ai-prompts · updated Apr 22, 2026

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill prometheus-monitoring
0 commentsdiscussion
summary

Implement comprehensive Prometheus monitoring infrastructure for collecting, storing, and querying time-series metrics from applications and infrastructure.

skill.md

Prometheus Monitoring

Table of Contents

Overview

Implement comprehensive Prometheus monitoring infrastructure for collecting, storing, and querying time-series metrics from applications and infrastructure.

When to Use

  • Setting up metrics collection
  • Creating custom application metrics
  • Configuring scraping targets
  • Implementing service discovery
  • Building monitoring infrastructure

Quick Start

Minimal working example:

# /etc/prometheus/prometheus.yml
global:
  scrape_interval: 15s
  evaluation_interval: 15s
  external_labels:
    cluster: production

alerting:
  alertmanagers:
    - static_configs:
        - targets: ["localhost:9093"]

rule_files:
  - "/etc/prometheus/alert_rules.yml"

scrape_configs:
  - job_name: "prometheus"
    static_configs:
      - targets: ["localhost:9090"]

  - job_name: "node"
    static_configs:
      - targets: ["localhost:9100"]

  - job_name: "api-service"
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Guide Contents
Prometheus Configuration Prometheus Configuration
Node.js Metrics Implementation Node.js Metrics Implementation
Python Prometheus Integration Python Prometheus Integration
Alert Rules Alert Rules
Docker Compose Setup Docker Compose Setup

Best Practices

✅ DO

  • Use consistent metric naming conventions
  • Add comprehensive labels for filtering
  • Set appropriate scrape intervals (10-60s)
  • Implement retention policies
  • Monitor Prometheus itself
  • Test alert rules before deployment
  • Document metric meanings

❌ DON'T

  • Add unbounded cardinality labels
  • Scrape too frequently (< 10s)
  • Ignore metric naming conventions
  • Create alerts without runbooks
  • Store raw event data in Prometheus
  • Use counters for gauge-like values

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.675 reviews
  • Diego Abebe· Dec 28, 2024

    We added prometheus-monitoring from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Nikhil Zhang· Dec 24, 2024

    prometheus-monitoring fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Hiroshi Dixit· Dec 12, 2024

    prometheus-monitoring has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Tariq Okafor· Dec 4, 2024

    Registry listing for prometheus-monitoring matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Diego Diallo· Nov 23, 2024

    Useful defaults in prometheus-monitoring — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Ishan Gill· Nov 19, 2024

    Solid pick for teams standardizing on skills: prometheus-monitoring is focused, and the summary matches what you get after install.

  • Meera Ghosh· Nov 15, 2024

    prometheus-monitoring has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ishan Gupta· Nov 3, 2024

    prometheus-monitoring fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Zaid Bhatia· Oct 22, 2024

    We added prometheus-monitoring from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Isabella Li· Oct 14, 2024

    I recommend prometheus-monitoring for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 75

1 / 8