Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Prometheus Monitoring

  • 455 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

prometheus-monitoring is a useful-ai-prompts skill that instruments services with Prometheus metrics, exporters, scrape jobs, recording rules, and PromQL alerts for developers who need production observability.

About

prometheus-monitoring is a skill from aj-geddes/useful-ai-prompts that guides Prometheus-based production observability setup. It covers application metric instrumentation, exporter configuration, scrape job definitions, recording rules, and PromQL alert expressions so teams can detect regressions in running services. Developers reach for prometheus-monitoring when services are deployed and need standardized metrics pipelines instead of ad hoc logging, especially when on-call needs actionable alerts tied to scrape targets and recorded aggregates.

  • Metric instrumentation
  • Exporter selection
  • Scrape config design
  • PromQL alert rules
  • SLO recording rules

Prometheus Monitoring by the numbers

  • 455 all-time installs (skills.sh)
  • Ranked #271 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill prometheus-monitoring

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs455
repo stars305
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you set up Prometheus monitoring for a service?

Instrument services with Prometheus metrics, exporters, scrape jobs, recording rules, and PromQL alerts for production observability.

Who is it for?

Backend or platform engineers operating production services who need Prometheus metrics, scrape jobs, and PromQL-based alerting.

Skip if: Developers who only need local debug logging without metrics pipelines, because prometheus-monitoring targets production Prometheus observability stacks.

When should I use this skill?

The user asks to add Prometheus metrics, exporters, scrape configs, recording rules, or PromQL alerts to a running service.

What you get

Prometheus metrics instrumentation, exporter configs, scrape jobs, recording rules, and PromQL alert definitions.

  • Metrics instrumentation
  • Scrape job configuration
  • PromQL alert rules

Files

SKILL.mdMarkdownGitHub ↗

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:

GuideContents
Prometheus ConfigurationPrometheus Configuration
Node.js Metrics ImplementationNode.js Metrics Implementation
Python Prometheus IntegrationPython Prometheus Integration
Alert RulesAlert Rules
Docker Compose SetupDocker 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

Related skills

How it compares

Pick prometheus-monitoring over generic logging guides when scrape jobs, recording rules, and PromQL alerts must be designed together.

FAQ

What does prometheus-monitoring help configure?

prometheus-monitoring helps configure Prometheus metrics instrumentation, exporters, scrape jobs, recording rules, and PromQL alerts. The skill targets production observability rather than local-only debugging.

Does prometheus-monitoring replace an existing monitoring stack?

prometheus-monitoring guides Prometheus-specific setup within an observability stack. It helps instrument services and define alerts when Prometheus is the metrics and alerting backbone.

DevOps & CI/CDmonitoringinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.