Hi (Prefect migration question) In Prefect 1.0 I c...
# prefect-community
Hi (Prefect migration question) In Prefect 1.0 I could see all the agents and could setup an “Automation” that monitors agent status and sends an alert if an agent stops working. How would you do those two things in Prefect 2.0? What is the equivalent to the triggers functionality from Prefect 1.0 https://docs-v1.prefect.io/api/latest/triggers.html#functions (is it the tasks
, `.result()`… ?) In Prefect 1.0 the “task” had “timeout” and “retry_delay”, so that I was able to limit the run time of a task, but wait some time before trying to run it again. (this is useful since sometimes a task get stack due to some cluster resource issue, and I want to let some time pass before rerunning it) (https://docs-v1.prefect.io/api/latest/core/task.html) How would you do such a thing with Prefect 2.0 ? (I see that t he flow decorator has those options, but not the task)
Hi @YD, for the equivalent to triggers in 1.0, @Anna Geller has a great discourse article with an example. You can still do retries on the tasks 😄