Set an anomaly threshold on a signal with a 5x daily cycle

Measurement & estimationHard

Problem. Your stall-rate detector fires about five times a night and roughly 40% of those pages are false alarms. Session volume swings 5x between the overnight trough and the evening peak. An engineer suggests raising the threshold until the false alarms stop. What do you do?

Before you reveal: say your answer out loud, as if you were in the real interview — get your reasoning across clearly first. There is no single correct answer: reading what the interviewer is really after and defending your own thinking is what makes an answer strong.