Hello team. I would like to implement an alert to ...
# ask-community
c
Hello team. I would like to implement an alert to be sent or an action to be executed whenever a specific flow runs over SLA duration. So, let's say, if a flow is expected to last at most 2 hours, I would like to send a notification to support group in case 2 hours duration is reached, without cancelling the job. Marvin showed me this GitHub Issue discussing flow run SLAs including functionality for alerting, cancelling, or pausing deployments when flow runs exceed specified states like
Pending
or
Running
too long. But the issue is not showing any guidance or solution. Any suggestion on how could I approach this?
j
hey, I would recommend looking at the docs on triggers and automations. If you go to the Automations tab in the UI, you can create an automation to send a notification for when when a flow run stays in a certain state for a certain amount of time.
🙌 1
c
Awesome, thank you @Jake Kaplan