observability
Implement observability: structured logging, distributed tracing, metrics collection, and alerting strategies.
- Star
- 709
- 分类
- 运维与云
- 许可证
- MIT
- 最近提交
- 2026年12月1日
src/alphacode_base/bundled_skills/observability/SKILL.md
在 GitHub 上查看Observability Skill
Make systems transparent and debuggable.
Three Pillars
- Logs: structured, contextual event records (JSON, not free-text)
- Metrics: numerical measurements over time (counters, gauges, histograms)
- Traces: request flow across service boundaries
Structured Logging
{
"level": "error",
"ts": "2024-01-15T10:30:00Z",
"msg": "payment processing failed",
"user_id": "u_123",
"order_id": "o_456",
"provider": "stripe",
"error": "card_declined"
}
Key Metrics (RED Method)
- Rate: requests per second
- Errors: error rate (errors / total requests)
- Duration: latency distribution (p50, p95, p99)
Alerting Rules
- Alert on symptoms (high error rate), not causes (high CPU)
- Use multi-window multi-burn-rate for SLO alerts
- Include runbook link in every alert
- Avoid alert fatigue: only page for user-impacting issues
相似的 Skill
精选
canary
GAgarrytan/gstack143k近 7 天新增 636 个 star
observability-and-instrumentation
ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star
精选
paperclip-board
PApaperclipai/paperclip119k近 7 天新增 2,120 个 star
ruview-configure
RUruvnet/RuView106k近 7 天新增 693 个 star