prometheus-configuration

Configure Prometheus for metric collection, storage, and monitoring.

1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/yusufcmg/Antigravity-Agents-Workflows --skill prometheus-configuration-yusufcmg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prometheus-configuration
Source: https://github.com/yusufcmg/Antigravity-Agents-Workflows/tree/main/.agent/skills/devops/prometheus-configuration
Command: npx skills add https://github.com/yusufcmg/Antigravity-Agents-Workflows --skill prometheus-configuration-yusufcmg

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you configure Prometheus for comprehensive metric collection, storage, and monitoring of your infrastructure and applications, ensuring you have visibility into system health and performance.

Core Features & Use Cases

  • Installation: Provides guides for Kubernetes (Helm) and Docker Compose deployments.
  • Configuration: Details the prometheus.yml structure for global settings, alerting, and scrape configurations.
  • Service Discovery: Covers static targets, file-based discovery, and Kubernetes service discovery.
  • Rules: Includes examples for creating recording rules (pre-computed metrics) and alert rules for proactive issue detection.
  • Validation: Offers commands to check configuration and rules syntax.

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 for metric collection and monitoring in Kubernetes?

You can configure Prometheus for metric collection in Kubernetes by deploying it via Helm and defining the prometheus.yml file. This setup establishes global settings and scrape configurations for monitoring your infrastructure and applications.

What's the best way to set up Prometheus service discovery for dynamic infrastructure?

Set up Prometheus service discovery by configuring prometheus.yml to utilize file-based discovery or Kubernetes service discovery. This approach allows Prometheus to automatically locate and monitor dynamic targets across your infrastructure.

How do I create alert rules in Prometheus for proactive issue detection?

Create alert rules in Prometheus by defining them within your configuration files to enable proactive issue detection. This setup also supports recording rules to pre-compute frequently used metrics for performance analysis.

Does this Prometheus configuration support Docker Compose deployments?

Yes, this Prometheus configuration supports Docker Compose deployments alongside Kubernetes Helm installations. It provides the necessary prometheus.yml structure for global settings, alerting, and scrape configurations in both environments.

How do I validate Prometheus configuration and alert rules syntax?

Validate Prometheus configuration and alert rules syntax by running specific validation commands provided within the setup. This ensures your prometheus.yml file and rules are correctly formatted before starting the monitoring server.