LLM serving monitoring has three layers: ① system-level metrics — latency (P50/P95/P99), throughput (QPS, tokens/sec), error rate (4xx/5xx and timeouts), GPU utilization, KV-cache hit rate and queue depth; ② token-level metrics — TTFT (time to first token, from request arrival to the first returned token) and TPOT (time per output token), with total latency
T=TTFT+TPOT×(N−1) where
TPOT=N−1Tdecode; ③ logs & traces — recording requests/responses, parameters and tool-call chains as distributed traces, so one multi-turn conversation is one queryable trace; ④ alerting & RCA — tiered alerts tied to an SLO budget, tracing anomalies back to the input side (very long prompts), serving side (queuing, OOM, autoscaling) or model side (degraded outputs).