GoogleのSRE書籍から、4つのゴールデンシグナルはレイテンシ、トラフィック、エラー、および飽和度です。ユーザーに対応するシステムについて4つのことしか測定できない場合、これら4つを測定してください — これらを合わせると大多数の問題をキャッチできます。
4つのシグナル
text
LATENCY how long a request takes
→ split SUCCESSFUL vs FAILED latency (a fast 500 isn't "fast")
→ track percentiles (p50/p95/p99), not averages
TRAFFIC how much demand the system is under
→ requests/sec, transactions/sec, concurrent sessions
ERRORS rate of failing requests
→ explicit (HTTP 500) and implicit (wrong content, too slow)
SATURATION how "full" the system is — its most constrained resource
→ CPU, memory, I/O, queue depth; a leading indicator of trouble
