prometheus-configuration

Configures Prometheus for metric collection, alerting, and monitoring across Kubernetes, Docker Compose, and bare-metal.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/emilneuraz-ai/neuraz-web --skill prometheus-configuration-emilneuraz-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prometheus-configuration
Source: https://github.com/emilneuraz-ai/neuraz-web/tree/main/.agents/skills/.agents/skills/prometheus-configuration
Command: npx skills add https://github.com/emilneuraz-ai/neuraz-web --skill prometheus-configuration-emilneuraz-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Configure Prometheus for comprehensive metric collection, alerting, and monitoring of infrastructure and applications.

Core Features & Use Cases

  • Prometheus installation and configuration (Helm on Kubernetes or Docker Compose)
  • Scrape configurations for Prometheus, node-exporter, and Kubernetes pods
  • Recording rules and alert rules for reliable visibility and proactive alerts
  • Reference templates and best practices for scalable observability

Quick Start

Install Prometheus with the recommended configuration to begin collecting metrics and generating alerts.

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 scrape configs for Kubernetes pods and node-exporter?

Prometheus scrape configuration defines target endpoints for metric collection from Kubernetes pods and node-exporter. This setup uses service discovery and static configurations to automatically identify and scrape metrics from infrastructure components and application workloads.

What is the best way to set up Prometheus alerting and recording rules?

Prometheus alerting and recording rules provide proactive visibility by evaluating metric expressions at regular intervals. Recording rules precompute frequent queries to optimize performance, while alerting rules trigger notifications based on defined threshold conditions.

Can I deploy Prometheus with Helm on Kubernetes or do I need Docker Compose?

Prometheus deployment supports both Helm-based installation on Kubernetes clusters and Docker Compose configurations. Helm enables scalable, managed deployments with standardized templates, while Docker Compose offers simpler setup for development environments.

Does Prometheus monitoring work with bare-metal infrastructure or only containerized environments?

Prometheus monitoring operates across Kubernetes, Docker Compose, and bare-metal environments. The configuration adapts to each deployment target by adjusting scrape configurations and service discovery methods to collect metrics from both containerized and direct infrastructure sources.

Why does my Prometheus scrape configuration fail to discover Kubernetes services?

Prometheus scrape configuration failures often stem from incorrect service discovery settings or missing Kubernetes API permissions. Proper configuration requires accurate role definitions, correct namespace selectors, and matching label selectors to successfully discover and scrape target services.

When do I need service discovery versus static scrape configurations in Prometheus?

Service discovery is needed in dynamic environments like Kubernetes where pod IPs change frequently, while static scrape configurations suit stable bare-metal targets. The configuration supports both approaches, allowing mixed strategies for comprehensive metric collection across infrastructure.