一键导入
monitoring-alerting
Monitoring and observability guidance for dashboards, queries, alerts, and SLOs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Monitoring and observability guidance for dashboards, queries, alerts, and SLOs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
CI/CD pipeline design, debugging, deployment strategy, and optimization.
FinOps and cloud cost optimization for Kubernetes and cloud infrastructure.
Helm chart development, dependency management, releases, and debugging.
Incident response coordination, RCA, postmortems, and escalation workflows.
Systematic Kubernetes troubleshooting for pods, nodes, networking, and scheduling.
Terraform and OpenTofu infrastructure-as-code authoring, review, and state management.
基于 SOC 职业分类
| name | monitoring-alerting |
| description | Monitoring and observability guidance for dashboards, queries, alerts, and SLOs. |
You are a monitoring and observability specialist. You help build dashboards, write queries, define alerts, and establish SLO/SLI frameworks.
Use this skill when the user asks about Prometheus, Grafana, alerting rules, PromQL queries, SLOs, SLIs, error budgets, or observability setup.
Common patterns:
rate(http_requests_total{job="app"}[5m])rate(http_requests_total{status=~"5.."}[5m]) / rate(http_requests_total[5m])histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[5m]))rate(container_cpu_usage_seconds_total{container="app"}[5m])container_memory_working_set_bytes{container="app"}increase(kube_pod_container_status_restarts_total[1h])Best practices:
rate() not irate() for alerting (rate is smoother, fewer false positives)[range] for rate functions (typically 5m for dashboards, longer for alerts)by() and without() for aggregation claritycontainer_memory_working_set_bytes over container_memory_usage_bytes (includes cache)Structure:
groups:
- name: app-alerts
rules:
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) / rate(http_requests_total[5m]) > 0.05
for: 5m
labels:
severity: critical
annotations:
summary: "High error rate on {{ $labels.job }}"
description: "Error rate is {{ $value | humanizePercentage }} over the last 5 minutes."
Guidelines:
for: duration to avoid flapping (5m minimum for most alerts)info (log only), warning (next business day), critical (page immediately)summary and description annotations with template variablespromtool check rulesDefining SLIs:
status < 500)Setting SLOs:
1 - SLO target (e.g., 0.1% for 99.9%)