可观测性规范:日志、指标、追踪与告警
可观测性指从系统的外部输出推断内部状态的能力。聚合监控只能回答服务整体是否正常,无法定位单个请求变慢的位置与原因;后者依赖三类信号——日志、指标、追踪,外加按需的 pprof/连续性能剖析。可观测性与业务代码同属交付物:一项功能若未声明指标、未埋设 span、未输出结构化日志,不应视为完成。
11 min read
Loading…
Quote of the day · October 26 · 关于意义 · Rick and Morty
Nobody exists on purpose. Nobody belongs anywhere. Everybody's gonna die. Come watch TV?
Notes on Agent runtimes — design decisions laid open: why it is this way, what it costs, and when it stops being true.