aj-geddes avatar

Prometheus Monitoring

This sets up a complete Prometheus monitoring stack with configurations for scraping metrics, alert rules, and service discovery. You'll want it when instrumenting applications for observability or building out metrics infrastructure. The skill includes working examples for Node.js and Python instrumentation, Docker Compose setups, and alert rule templates. The best practices section is solid on avoiding the classic pitfall of unbounded cardinality labels, which can absolutely wreck your Prometheus instance. It's comprehensive enough to get a production monitoring setup running without having to piece together scattered documentation.

skills.sh installs
516
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill prometheus-monitoring --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & CI/CD, AI & Agent Building, Sales & Marketing, Cloud & Infrastructure
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1bobmatnyc avatargolang-observability-opentelemetrybobmatnyc/claude-mpm-skillsInstrumenting Go applications with OpenTelemetry for distributed tracing, Prometheus for metrics, and structured logging with slog421skills.sh installs
2levnikolaevich avatarln-115-devops-docs-creatorlevnikolaevich/claude-code-skillsCreates infrastructure.md and runbook.md (Docker-conditional). Use for DevOps documentation in any project.384skills.sh installs
3bobmatnyc avatarvercel-observabilitybobmatnyc/claude-mpm-skillsVercel observability for Web Analytics, Speed Insights, logs, tracing, alerts, and observability tooling. Use when monitoring performance or debugging productio345skills.sh installs
4levnikolaevich avatarln-627-observability-auditorlevnikolaevich/claude-code-skillsChecks structured logging, health checks, metrics collection, request tracing, log levels. Use when auditing observability.316skills.sh installs
5odyssey4me avatargitlabodyssey4me/agent-skillsCreate and manage GitLab issues, merge requests, pipelines, and repositories using the glab CLI. Use when asked to open an MR, review a merge request, check CI/303skills.sh installs
6patricio0312rev avataralerting-dashboard-builderpatricio0312rev/skillsCreates SLO-based alerts and operational dashboards with key charts, alert thresholds, and runbook links. Use for "alerting", "dashboards", "SLO", or "monitorin262skills.sh installs