prometheus-grafana

Configure Prometheus metrics collection and Grafana dashboards for monitoring.

6|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill prometheus-grafana-repairyourtech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prometheus-grafana
Source: https://github.com/RepairYourTech/cfsa-antigravity/tree/main/.agent/skill-library/stack/observability/prometheus-grafana
Command: npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill prometheus-grafana-repairyourtech

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you set up and manage Prometheus for collecting system metrics and Grafana for visualizing that data, enabling comprehensive monitoring and alerting.

Core Features & Use Cases

  • Metrics Collection: Define and collect various types of metrics (Counters, Gauges, Histograms, Summaries).
  • Querying & Alerting: Write PromQL queries for analysis and configure alerts for critical conditions.
  • Visualization: Create dashboards in Grafana to visualize system performance and health.
  • Use Case: You need to monitor the latency and error rates of your web service. This Skill will guide you in configuring Prometheus to scrape metrics from your service and setting up a Grafana dashboard to display these metrics, along with alerts for high error rates.

Quick Start

Configure Prometheus to scrape metrics from the 'my-service' job targeting 'app:3000'.

Frequently Asked Questions about prometheus-grafana

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

FAQPage Schema
How do I set up Prometheus to scrape metrics from my web service?

Set up Prometheus metrics collection by configuring scrape targets defining job names and endpoints like 'app:3000' for 'my-service'. This enables collecting metric types including Counters, Gauges, and Histograms for system observability.

What is the best way to visualize system performance and health in Grafana?

The best way to visualize system performance is by building Grafana dashboards connected to Prometheus. This setup displays collected metrics like latency and error rates, enabling comprehensive monitoring and data visualization for production-ready observability.

How do I write PromQL queries for alerting on high error rates?

Write PromQL queries for alerting by defining conditions that trigger alerts when error rates exceed critical thresholds. This Skill guides configuring alerting rules in Prometheus to monitor metrics and alert on high error rates for system observability.

When do I need to configure a production-ready monitoring stack?

You need a production-ready monitoring stack when you require comprehensive system observability, such as tracking web service latency and error rates. Defining metric types and setting up alerts ensures your system health is continuously monitored and visualized.

Does this monitoring setup support different metric types like Counters and Summaries?

Yes, the Prometheus configuration supports collecting and defining various metric types, including Counters, Gauges, Histograms, and Summaries. This allows you to capture diverse system metrics and visualize them effectively using Grafana dashboards for observability.