ワンクリックで
monitoring-and-alerting
Use when setting up or debugging Prometheus, Grafana, logging, or alerting
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when setting up or debugging Prometheus, Grafana, logging, or alerting
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use before any DevOps build, change, or new feature — refine requirements through dialogue before touching infrastructure or code
Use when working with Docker — building images, writing Dockerfiles, debugging container issues
Use to execute a written implementation plan via subagents with review checkpoints
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when working with Kubernetes or Helm — authoring, reviewing, hardening, or debugging manifests, Deployments, Services, Ingress, RBAC, NetworkPolicy, or cluster operations
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
| name | monitoring-and-alerting |
| description | Use when setting up or debugging Prometheus, Grafana, logging, or alerting |
tooling/monitoring/. Scaffold scrape configs, dashboards, alert rules.# CPU usage by pod
rate(container_cpu_usage_seconds_total[5m])
# Memory usage
container_memory_working_set_bytes / container_spec_memory_limit_bytes
# HTTP error rate
rate(http_requests_total{status=~"5.."}[5m]) / rate(http_requests_total[5m])
# Pod restarts
increase(kube_pod_container_status_restarts_total[1h])
groups:
- name: app-alerts
rules:
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.05
for: 5m
labels:
severity: critical
annotations:
summary: "High error rate on {{ $labels.service }}"
{
"timestamp": "2026-04-01T10:00:00Z",
"level": "error",
"message": "Database connection failed",
"service": "api",
"trace_id": "abc123",
"error": "connection refused"
}
# Kubernetes logs
kubectl logs -l app=myapp --since=1h
kubectl logs -l app=myapp --tail=100
# Journald
journalctl -u myservice -f
journalctl -u myservice --since "1 hour ago"
tooling/monitoring/prometheus/ — scrape configs, alert rulestooling/monitoring/grafana/ — dashboard JSONstooling/monitoring/starters/ — full observability stack