https://prefect.io logo
i

Igor Morgunov

07/31/2023, 10:07 AM
Hi - we’re having some problems with Automations - we have set up two automations: when a queue enters unhealthy state and when a queue stays unhealthy for 2+ minutes - instead we keep getting alerts when the queue is fine - how does it work?
i

Ivan

07/31/2023, 12:44 PM
According to my experience, queue health feels kinda broken. Even when an agent is running without any obvious issues sometimes it will still mark a queue as "unhealthy". Instead of this, I would suggest to check for flow state, e.g.: if it's late for 5 minutes, when trigger an alert.