2026-10-08 18:19:34 +08:00
<!DOCTYPE html>
< html lang = "zh-CN" data-theme = "light" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< title > 复盘与根因分析 · 阶段 5 模块 2 · SRE 从零到成熟< / title >
< meta name = "description" content = "复盘与根因分析 模块目录:共 13 章、38 个小节。" >
< link rel = "stylesheet" href = "../../assets/doc.css" >
< / head >
< body >
< header class = "topbar" >
< div class = "tb-in" >
< a class = "brand" href = "../../index.html" > < span class = "logo" > SRE< / span > < div > 从零到成熟< small > 模块详解< / small > < / div > < / a >
< div class = "crumbs" >
< a href = "../../index.html" > 学习路径< / a > < span class = "sep" > /< / span >
< a href = "../../index.html#s5" > 阶段 5 · 扛得住< / a > < span class = "sep" > /< / span >
< b > 复盘与根因分析< / b >
< / div >
< div class = "spacer" > < / div >
< button class = "btn" id = "tocToggle" > ☰ 导航< / button >
< button class = "btn" id = "themeBtn" title = "切换到深色主题" > 深色< / button >
< / div >
< / header >
< div class = "layout" id = "layout" >
< aside class = "sidebar" >
< h2 > 章节目录< / h2 >
< nav id = "chapters" > < a class = "toc-a" href = "01-why.html" > < i class = "cn" > 1< / i > 为什么复盘是 SRE 最贵的资产< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "01-why.html#sec-1-1" > 复盘的产出不是文档,是三类变化< / a > < a class = "toc-a lv3" href = "01-why.html#sec-1-2" > 故障成本可以算,复盘收益也可以算< / a > < a class = "toc-a lv3" href = "01-why.html#sec-1-3" > 只在复盘里才看得见的三类问题< / a > < / div > < a class = "toc-a" href = "02-timeline.html" > < i class = "cn" > 2< / i > 时间线重建:关键到分钟< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "02-timeline.html#sec-2-1" > 时间线要分三层记,不要混成一条< / a > < a class = "toc-a lv3" href = "02-timeline.html#sec-2-2" > 把 MTTR 拆成四段,每段都要有起点和终点< / a > < a class = "toc-a lv3" href = "02-timeline.html#sec-2-3" > 数据从哪来:六个来源与它们的取数命令< / a > < / div > < a class = "toc-a" href = "03-methods.html" > < i class = "cn" > 3< / i > 分析方法: 5 Whys、故障树与变更关联< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "03-methods.html#sec-3-1" > Whys: 正确的追问链与三种典型误用< / a > < a class = "toc-a lv3" href = "03-methods.html#sec-3-2" > 故障树:从「不可用」反推,用 AND / OR 门区分放大器< / a > < a class = "toc-a lv3" href = "03-methods.html#sec-3-3" > 变更关联分析:把变更时间轴与指标拐点对齐< / a > < a class = "toc-a lv3" href = "03-methods.html#sec-3-4" > 依赖影响面梳理:找出「共用同一个东西」的服务< / a > < / div > < a class = "toc-a" href = "04-blameless.html" > < i class = "cn" > 4< / i > 无指责文化:怎么问才不指向人< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "04-blameless.html#sec-4-1" > 问句改写法则:从意图转向条件< / a > < a class = "toc-a lv3" href = "04-blameless.html#sec-4-2" > 隐性指责话术对照表< / a > < a class = "toc-a lv3" href = "04-blameless.html#sec-4-3" > 主持人的六个动作< / a > < a class = "toc-a lv3" href = "04-blameless.html#sec-4-4" > 无指责不等于无责任< / a > < / div > < a class = "toc-a" href = "05-contributing.html" > < i class = "cn" > 5< / i > 贡献因素:为什么「根因」往往不止一个< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "05-contributing.html#sec-5-1" > 为什么根因是复数:三个条件同时成立才出事< / a > < a class = "toc-a lv3" href = "05-contributing.html#sec-5-2" > 反事实测试:把贡献因素分成必修 / 选修 / 记录< / a > < a class = "toc-a lv3" href = "05-contributing.html#sec-5-3" > 术语:别再用「根因」这个词< / a > < / div > < a class = "toc-a" href = "06-actions.html" > < i class = "cn" > 6< / i > 行动项闭环: Owner、期限、验证方式< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "06-actions.html#sec-6-1" > 一个行动项合格的五个字段< / a > < a class = "toc-a lv3" href = "06-actions.html#sec-6-2" > 防烂尾的五个机制< / a > < a class = "toc-a lv3" href = "06-actions.html#sec-6-3" > 数量控制:一次故障最多 3– 5 条< / a > < / div > < a class = "toc-a" href = "07-topcauses.html" > < i class = "cn" > 7< / i > 高频根因清单:特征信号与预防手段< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "07-topcauses.html#sec-7-1" > 六类高频根因的特征信号、检出时间与预防手段< / a > < a class = "toc-a lv3" href = "07-topcauses.html#sec-7-2" > 值班时的 10 秒判据:先看哪一行< / a > < a class = "toc-a lv3" href = "07-topcauses.html#sec-7-3" > 把复盘结论变成常态化防御< / a > < / div > < a class = "toc-a" href = "08-template.html" > < i class = "cn" > 8< / i > Postmortem 模板与完整填写示例< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "08-template.html#sec-8-1" > 模板结构:每一节写什么、常见的写坏方式< / a > < a class = "toc-a lv3" href = "08-template.html#sec-8-2" > 可直接抄用的 Postmortem 模板< / a > < a class = "toc-a lv3" href = "08-template.html#sec-8-3" > 完整填写示例: INC-2024-0312( 填好的版本) < / a > < / div > < a class = "toc-a" href = "09-review.html" > < i class = "cn" > 9< / i > 复盘会怎么开< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "09-review.html#sec-9-1" > 参会人与角色:谁必须到,谁不必到< / a > < a class = "toc-a lv3" href = "09-review.html#sec-9-2" > 分钟五段式议程< / a > < a class = "toc-a lv3" href = "09-review.html#
< div class = "side-foot" >
< a class = "btn" href = "index.html" > ← 模块目录< / a >
< a class = "btn" href = "../../index.html" > 学习路径< / a >
< / div >
< / aside >
< div class = "mask" id = "mask" > < / div >
< main class = "main-col" >
< article >
< div class = "modhero" >
< span class = "mh-no" > 阶段 5 · 模块 2 / 5< / span >
< h1 > 复盘与根因分析< / h1 >
< p class = "mh-sub" > 阶段 5 · 扛得住 · 时间线重建、5 Whys、无指责复盘与行动项闭环< / p >
< div class = "mh-meta" >
< span > 共 < b > 13< / b > 章< / span >
< span > < b > 38< / b > 个小节< / span >
< span > 约 < b > 54< / b > 千字< / span >
< / div >
< / div >
< p class = "lead" >
< b > 模块定位:< / b > 上一个模块解决的是「故障正在发生时,怎么在几分钟内把损失止住」;这个模块解决它之后的另一半——
< b > 怎么让同一类故障不再出现第二次< / b > 。复盘不是写事故报告,复盘的产出必须是系统里发生了可验证的变化:
把「某个人操作错了」翻译成「系统在什么条件下允许这个操作造成这么大的影响」,再把结论翻译成带 Owner、期限、验证方式的行动项。
一次没有产生任何变更的复盘,从可靠性角度看等于零。
< br > < br >
< b > 学完之后你应该能:< / b > 从变更记录、K8s 事件、指标拐点、应用日志、事故群五个来源拼出一条精确到分钟的时间线,
并把它拆成 MTTD / MTTA / 止血 / MTTR 四段;用 5 Whys、故障树、变更关联分析、依赖影响面梳理四件工具找出全部贡献因素,
而不是停在一个「根因」上;在复盘会上把「谁点的回滚」改写成「系统为什么让这次回滚变得必要」;
用一份可直接抄用的 Postmortem 模板产出报告, 并把每条行动项落到工单、Owner、日期与验证方式上;
最后用行动项完成率、复发率、MTTR 趋势三个指标衡量复盘本身做得好不好。
< br > < br >
< b > 前置:< / b > 阶段 2 的 < a href = "../s2-02-logs/index.html" > 日志采集与检索< / a > (时间线的第一手证据在日志里,
不会写查询就只能靠回忆);阶段 3 的 < a href = "../s3-01-slo/index.html" > SLI / SLO / 错误预算< / a >
(没有错误预算就算不出这次故障的代价,也定不出行动项优先级)、
< a href = "../s3-02-ha/index.html" > 高可用与容灾< / a > (共享资源、隔离舱、超时预算这些概念是贡献因素的常见落点)、
< a href = "../s3-04-chaos/index.html" > 混沌工程与演练< / a > (行动项修好之后,靠重放同一个故障来验证,别停在「代码已合并」);
最好先读完 < a href = "../s5-01-oncall/index.html" > On-call 与应急响应< / a > ,那个模块里的角色分工与处置顺序是本章时间线的上半段。
< br > < br >
< b > 建议投入:< / b > 12– 16 小时,其中至少 6 小时用于真实动手:拉一次历史故障的完整时间线、主持一次模拟复盘、
把 3– 5 条行动项建单并跟踪到关闭。只读不练,你会写出一份漂亮的模板和一份永远不闭环的报告。
< / p >
< h2 id = "chapters-list" > 章节目录< / h2 >
< ol class = "chaplist" >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 1< / span >
< a class = "ci-title" href = "01-why.html" > 为什么复盘是 SRE 最贵的资产< / a >
< a class = "ci-go" href = "01-why.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "01-why.html#sec-1-1" > 复盘的产出不是文档,是三类变化< / a > < a href = "01-why.html#sec-1-2" > 故障成本可以算,复盘收益也可以算< / a > < a href = "01-why.html#sec-1-3" > 只在复盘里才看得见的三类问题< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 2< / span >
< a class = "ci-title" href = "02-timeline.html" > 时间线重建:关键到分钟< / a >
< a class = "ci-go" href = "02-timeline.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "02-timeline.html#sec-2-1" > 时间线要分三层记,不要混成一条< / a > < a href = "02-timeline.html#sec-2-2" > 把 MTTR 拆成四段,每段都要有起点和终点< / a > < a href = "02-timeline.html#sec-2-3" > 数据从哪来:六个来源与它们的取数命令< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 3< / span >
< a class = "ci-title" href = "03-methods.html" > 分析方法: 5 Whys、故障树与变更关联< / a >
< a class = "ci-go" href = "03-methods.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "03-methods.html#sec-3-1" > Whys: 正确的追问链与三种典型误用< / a > < a href = "03-methods.html#sec-3-2" > 故障树:从「不可用」反推,用 AND / OR 门区分放大器< / a > < a href = "03-methods.html#sec-3-3" > 变更关联分析:把变更时间轴与指标拐点对齐< / a > < a href = "03-methods.html#sec-3-4" > 依赖影响面梳理:找出「共用同一个东西」的服务< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 4< / span >
< a class = "ci-title" href = "04-blameless.html" > 无指责文化:怎么问才不指向人< / a >
< a class = "ci-go" href = "04-blameless.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "04-blameless.html#sec-4-1" > 问句改写法则:从意图转向条件< / a > < a href = "04-blameless.html#sec-4-2" > 隐性指责话术对照表< / a > < a href = "04-blameless.html#sec-4-3" > 主持人的六个动作< / a > < a href = "04-blameless.html#sec-4-4" > 无指责不等于无责任< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 5< / span >
< a class = "ci-title" href = "05-contributing.html" > 贡献因素:为什么「根因」往往不止一个< / a >
< a class = "ci-go" href = "05-contributing.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "05-contributing.html#sec-5-1" > 为什么根因是复数:三个条件同时成立才出事< / a > < a href = "05-contributing.html#sec-5-2" > 反事实测试:把贡献因素分成必修 / 选修 / 记录< / a > < a href = "05-contributing.html#sec-5-3" > 术语:别再用「根因」这个词< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 6< / span >
< a class = "ci-title" href = "06-actions.html" > 行动项闭环: Owner、期限、验证方式< / a >
< a class = "ci-go" href = "06-actions.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "06-actions.html#sec-6-1" > 一个行动项合格的五个字段< / a > < a href = "06-actions.html#sec-6-2" > 防烂尾的五个机制< / a > < a href = "06-actions.html#sec-6-3" > 数量控制:一次故障最多 3– 5 条< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 7< / span >
< a class = "ci-title" href = "07-topcauses.html" > 高频根因清单:特征信号与预防手段< / a >
< a class = "ci-go" href = "07-topcauses.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "07-topcauses.html#sec-7-1" > 六类高频根因的特征信号、检出时间与预防手段< / a > < a href = "07-topcauses.html#sec-7-2" > 值班时的 10 秒判据:先看哪一行< / a > < a href = "07-topcauses.html#sec-7-3" > 把复盘结论变成常态化防御< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 8< / span >
< a class = "ci-title" href = "08-template.html" > Postmortem 模板与完整填写示例< / a >
< a class = "ci-go" href = "08-template.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "08-template.html#sec-8-1" > 模板结构:每一节写什么、常见的写坏方式< / a > < a href = "08-template.html#sec-8-2" > 可直接抄用的 Postmortem 模板< / a > < a href = "08-template.html#sec-8-3" > 完整填写示例: INC-2024-0312( 填好的版本) < / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 9< / span >
< a class = "ci-title" href = "09-review.html" > 复盘会怎么开< / a >
< a class = "ci-go" href = "09-review.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "09-review.html#sec-9-1" > 参会人与角色:谁必须到,谁不必到< / a > < a href = "09-review.html#sec-9-2" > 分钟五段式议程< / a > < a href = "09-review.html#sec-9-3" > 主持人的六个动作与三个禁止< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 10< / span >
< a class = "ci-title" href = "10-metrics.html" > 度量复盘质量:完成率、复发率与 MTTR 趋势< / a >
< a class = "ci-go" href = "10-metrics.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "10-metrics.html#sec-10-1" > 三个指标的定义与计算式< / a > < a href = "10-metrics.html#sec-10-2" > 怎么采集:从复盘文档到指标< / a > < a href = "10-metrics.html#sec-10-3" > 指标被玩坏的三种方式< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 11< / span >
< a class = "ci-title" href = "11-antipattern.html" > 反模式:免责声明、加强培训、只复盘大故障< / a >
< a class = "ci-go" href = "11-antipattern.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "11-antipattern.html#sec-11-1" > 反模式一:把复盘写成免责声明< / a > < a href = "11-antipattern.html#sec-11-2" > 反模式二与三:行动项全是「加强培训」,以及只复盘大故障< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 12< / span >
< a class = "ci-title" href = "12-cheat.html" > 速查表与高频坑< / a >
< a class = "ci-go" href = "12-cheat.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "12-cheat.html#sec-12-1" > 速查表:从故障到闭环的十二步< / a > < a href = "12-cheat.html#sec-12-2" > 十二个高频坑< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 13< / span >
< a class = "ci-title" href = "13-checklist.html" > 完成标准与自测< / a >
< a class = "ci-go" href = "13-checklist.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "13-checklist.html#sec-x1" > 自测题< / a > < a href = "13-checklist.html#sec-x2" > 下一步< / a > < / div >
< / li >
< / ol >
< div class = "box tip" >
< span class = "bt" > 怎么用这一模块< / span >
< p > 左侧是< b > 章节目录树< / b > :先看章标题快速定位,进入某一章后该章的小节会展开并跟随滚动高亮;点其它章标题可直接跳到对应页面。< / p >
< p > 每章结尾都有「上一章 / 下一章」可以连续阅读,代码块右上角可以一键复制。< / p >
< / div >
< / article >
< nav class = "pager" >
< a class = "prev" href = "../s5-01-oncall/index.html" > < span class = "k" > ← 上一模块< / span > < span class = "v" > On-call 与应急响应< / span > < / a >
< a class = "next" href = "../s5-03-perf/index.html" > < span class = "k" > 下一模块 →< / span > < span class = "v" > 性能分析与内核调优< / span > < / a >
< / nav >
< p class = "foot" >
复盘与根因分析 · 模块目录< br >
< a href = "../../index.html" > 返回学习路径< / a >
< / p >
< / main >
< / div >
< button id = "toTop" title = "回到顶部" > ↑< / button >
< script src = "../../assets/doc.js" > < / script >
2026-10-14 22:42:38 +08:00
< script src = "../../../../assets/back.js" data-portal-back = "knowledge/sre-learning-path" data-portal-label = "知识库 › SRE 从零到成熟学习路径" > < / script >
2026-10-08 18:19:34 +08:00
< / body >
< / html >