一键导入
monitoring-and-alerting-principles
Health checks, metrics instrumentation (RED/USE), error tracking, graceful degradation. Prometheus, probes, alert thresholds.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Health checks, metrics instrumentation (RED/USE), error tracking, graceful degradation. Prometheus, probes, alert thresholds.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
WCAG accessibility: semantic HTML, ARIA, keyboard nav, contrast, screen readers. For all user-facing interfaces.
Document architectural decisions using ADR format. Use during research when choosing approaches, introducing deps/patterns, or changing arch.
REST/HTTP API design: resource naming, status codes, error formats, versioning, pagination.
Kubernetes deployment and GitOps patterns: rolling/blue-green/canary strategies, ArgoCD/Flux manifests, K8s secrets management. Supplement to ci-cd-principles.
CI/CD pipeline patterns: stages, Dockerfile, GitHub Actions, artifact management, environment promotion, rollback. Layered by deployment complexity.
Structured code review protocol: inspect against full rule set. Use for audit workflows, code reviews, or when user requests review. Produces findings document with severity tags.
| name | monitoring-and-alerting-principles |
| description | Health checks, metrics instrumentation (RED/USE), error tracking, graceful degradation. Prometheus, probes, alert thresholds. |
| user-invocable | false |
Covers what agent implements in code. Org concerns (SLO defs, on-call, escalation) out of scope.
/health (Liveness): 200 if alive. No dependency checks. Orchestrator uses to restart./ready (Readiness): checks all deps (DB, cache, MQ). 503 if unavailable. LB uses to route.Rules: fast (<1s), no side effects, separate liveness from readiness.
RED (services): Rate (req/s), Errors (count/rate), Duration (histogram, not avg).
USE (resources): Utilization, Saturation (queued), Errors.
Rules: counters (monotonic), gauges (up/down), histograms (distributions). Consistent labels (service, method, status_code). No high-cardinality labels (no user IDs).
Tool-agnostic: Datadog, LGTM, Sentry, New Relic, CloudWatch — same code patterns.