phase2-monitoring

Configures Prometheus, Grafana, Loki, and Alertmanager observability stack for system monitoring.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Operating services without visibility into metrics, logs, and alerts makes outages and resource exhaustion hard to detect. This Skill sets up a complete observability stack so teams can monitor system health, aggregate logs, and route alerts from one place. ## Core Features & Use Cases - Metrics Collection & Visualization: Prometheus scrapes host and container metrics via Node Exporter and cAdvisor, displayed on Grafana dashboards with CPU, memory, and disk gauges. - Log Aggregation: Loki and Promtail collect and index logs for search and analysis across services. - Alerting: Alertmanager routes critical alerts (LowDiskSpace, ContainerDown, PrometheusTargetDown) and warnings (HighCPUUsage, HighMemoryUsage) to channels like Slack webhooks. - Use Case: A DevOps engineer runs make monitoring-up to launch the full stack, opens Grafana at localhost:3001 to view the TAISUN overview dashboard, and configures Slack notifications for disk space alerts. ## Quick Start Ask the assistant to start the monitoring stack and verify that Prometheus, Grafana, Loki, and Alertmanager are healthy.

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 Prometheus and Grafana monitoring?▼

Run the monitoring-up make command to start Prometheus on port 9090 and Grafana on port 3001. Grafana is pre-provisioned with datasources and a TAISUN overview dashboard showing CPU, memory, and disk usage.

How to aggregate logs with Loki and Promtail?▼

Loki runs on port 3100 as the log storage backend while Promtail collects logs from services and ships them to Loki. Logs are retained for 7 days and can be searched through the Grafana interface.

What alert rules are included in this monitoring stack?▼

Critical alerts cover LowDiskSpace under 15%, ContainerDown, and PrometheusTargetDown. Warning alerts trigger on CPU above 80%, memory above 85%, and container CPU or memory above 80% sustained for 5 minutes.

How do I send Alertmanager notifications to Slack?▼

Edit the alertmanager.yml configuration file and add a receiver with a slack_configs block containing your Slack webhook API URL and target channel. Alertmanager then routes matching alerts to that channel.

What are the data retention limits for Prometheus and Loki?▼

Prometheus retains metrics for 15 days and Loki retains logs for 7 days. For longer retention, you would need to configure remote storage backends outside this stack's default configuration.