Question
Slow log versus latency monitor: what does each isolate?
Answer
The slow log records commands whose execution time exceeds its threshold, excluding client I/O. The latency monitor records sampled spikes across internal event classes and retains event time series. Use the slow log for costly commands; use the monitor for server stalls. Applies to Redis and Valkey.