Från Googles SRE-bok är de fyra gyllene signalerna latens, trafik, fel och mättnad. Om du bara kan mäta fyra saker om ett användarvänt system, mät dessa — tillsammans täcker de det stora flertalet av problemen.
De fyra signalerna
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
