prometheus-configuration

Configure Prometheus metric scraping, storage, and alert rules via Helm and Docker Compose.

Updated Jan 13, 2026
One-click install
npx skills add https://github.com/ollieb89/vibe_coding --skill prometheus-configuration-ollieb89
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prometheus-configuration
Source: https://github.com/ollieb89/vibe_coding/tree/main/.agent/observability-monitoring/skills/prometheus-configuration
Command: npx skills add https://github.com/ollieb89/vibe_coding --skill prometheus-configuration-ollieb89

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to setting up and configuring Prometheus, enabling effective metric collection, storage, and monitoring of your infrastructure and applications.

Core Features & Use Cases

  • Installation: Guides for Kubernetes (Helm) and Docker Compose.
  • Configuration: Detailed prometheus.yml examples for global settings, alerting, and scrape configurations.
  • Rule Management: Examples for creating recording and alert rules to derive insights and trigger notifications.
  • Use Case: Implement a full-stack monitoring solution by configuring Prometheus to scrape metrics from your microservices, set up alerts for critical failures, and visualize data in Grafana.

Quick Start

Use the prometheus-configuration skill to set up Prometheus on Kubernetes using Helm.

Frequently Asked Questions about prometheus-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Prometheus to scrape metrics from my applications?

To configure Prometheus metric scraping, you define scrape configurations in your `prometheus.yml` file, specifying global settings and target endpoints using static targets, file-based discovery, or Kubernetes service discovery.

What is the best way to install Prometheus on Kubernetes?

The best way to install Prometheus on Kubernetes is by using Helm, which simplifies deployment and configuration, though Docker Compose is also supported for local or non-Kubernetes infrastructure monitoring setups.

How do I set up alerting rules in Prometheus for critical infrastructure failures?

Setting up Prometheus alerting involves defining alert rules within your configuration files to trigger notifications when specific metric thresholds are crossed, enabling proactive monitoring of infrastructure and applications.

Can I use Kubernetes service discovery for Prometheus scrape configurations?

Yes, Prometheus supports Kubernetes service discovery for scrape configurations, allowing dynamic target discovery. It also handles static targets and file-based configurations for monitoring infrastructure and applications.

What are recording rules in Prometheus and when do I need them?

Recording rules in Prometheus allow you to pre-compute frequently needed or computationally expensive expressions and save their results as new time series, improving query performance for derived metric insights.