Long running ETL flows alerting strategies

 Any strategies i can employ to alert myself whenever a query that generally takes seconds to run runs for longer than it should? 

 

I have a query that has on rare occasions been found running for hours when it should run in seconds. I'd like a way to be alerted to this situation without having to come across it by chance.

 

Thanks!

Comments