phase2-monitoring

Set up Prometheus, Grafana, Loki, and Alertmanager for system monitoring and log aggregation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/taiyousan15/taisun_agent --skill phase2-monitoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phase2-monitoring
Source: https://github.com/taiyousan15/taisun_agent/tree/main/.claude/skills/phase2-monitoring
Command: npx skills add https://github.com/taiyousan15/taisun_agent --skill phase2-monitoring

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill sets up a comprehensive observability stack to monitor system metrics, aggregate logs, manage alerts, and visualize data.

Core Features & Use Cases

  • Metrics Collection: Gathers host and container metrics using Prometheus and exporters.
  • Log Aggregation: Centralizes logs from various sources with Loki.
  • Alerting: Configures and manages alerts for critical and warning conditions.
  • Visualization: Provides dashboards for monitoring system health via Grafana.
  • Use Case: Deploying this stack allows you to proactively identify and resolve issues like low disk space or high CPU usage before they impact users.

Quick Start

Run make monitoring-up to start the observability stack.

Frequently Asked Questions about phase2-monitoring

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

FAQPage Schema
How do I set up an observability stack with Prometheus and Grafana for system monitoring?

Setting up an observability stack with Prometheus and Grafana involves configuring metrics collection, log aggregation, alerting, and visualization. This stack deploys Prometheus, Grafana, Loki, and Alertmanager to monitor host and container metrics centrally.

What is the best way to aggregate logs and monitor container metrics together?

The best way to aggregate logs and monitor container metrics is using a combined stack. This setup uses Prometheus with Node Exporter for metrics and Loki with Promtail for centralizing logs, visualized through Grafana dashboards.

Can I configure Alertmanager rules for low disk space and high CPU usage alerts?

Yes, you can configure Alertmanager rules for low disk space and high CPU usage. The stack allows you to define and manage alert rules for critical and warning conditions, helping you proactively identify and resolve issues before they impact users.

How do I start the observability stack after configuring Loki and Promtail?

To start the observability stack after configuring Loki and Promtail, you run the command `make monitoring-up`. This initiates the fully configured Prometheus, Grafana, Loki, and Alertmanager services for system monitoring and log aggregation.

Does this monitoring stack support both host metrics and container metrics collection?

Yes, this monitoring stack supports both host and container metrics collection. It uses Prometheus alongside specific exporters like Node Exporter to gather comprehensive system metrics for visualization in Grafana.