质量与评审
error-budget
更新于 2026-09-20
Error Budget 工程规则
Reliability rules: error budgets gate feature work, not opinions
- 技术栈
- Error Budget
- 主题
- 工程基线
- 条目
- 9 条
- 版本
- v0.2.0
✓ 应当这么做
- ✓ Emit structured logs with correlation ids connecting request, job and outbound call
- ✓ Use histogram metrics for latency and counters for outcomes
- ✓ Alert on symptoms (error rate, saturation) rather than causes
✕ 常见反模式
- ✕ Logging secrets, tokens or full personal payloads
- ✕ Cardinality bombs in metric labels (user ids, raw paths)
- ✕ Dashboards without an owner or documented decision threshold
◎ 交付前验证
- ◎ The new code path is visible in logs end-to-end
- ◎ Dashboard panel added or updated to match the new metric
- ◎ Alert routing tested once end-to-end
同分类条目
11 篇质量与评审
Static Analysis 工程规则
Static analysis rules: treat warnings as errors for new code and justify exceptions
质量与评审
Code Review 工程规则
Review rules: risk-first reading, bounded diffs and reproducible verification
质量与评审
Refactoring 工程规则
Refactoring rules: characterisation tests before structural change
质量与评审
Legacy Modernisation 工程规则
Legacy rules: strangler-fig slices with a measurable seam