01Go-engineeringOct 26, 2026

可观测性规范:日志、指标、追踪与告警

可观测性指从系统的外部输出推断内部状态的能力。聚合监控只能回答服务整体是否正常,无法定位单个请求变慢的位置与原因;后者依赖三类信号——日志、指标、追踪,外加按需的 pprof/连续性能剖析。可观测性与业务代码同属交付物:一项功能若未声明指标、未埋设 span、未输出结构化日志,不应视为完成。

11 min read

Quote of the day · November 15关于接受Breaking Bad

You got the job. Do yourself a favor and learn to take yes for an answer.