<@UN6FTLFAS> After I saw that my flow failed last ...
# prefect-community
z
@nicholas After I saw that my flow failed last night, I tried to restart the flow right now through the Prefect UI. Originally, the flow failed after 15 minutes. I restarted it now (about 12 hours later) and it failed again. And now the Prefect UI says the flow's run time was >12 hours. That is really misleading and it screws with out metrics, since we monitor flow run time to keep track of how long tasks are taking.
n
HI @Zach - the UI is displaying the duration between when the flow started and when it ended (
start_time
and
end_time
on the flow run object); I'd encourage you to use the task run or flow run state history instead to calculate metrics that depend on task run uptime, since this will give you more granular control and agency as to what should be included.
I think we also have a ticket open to expand the run time functionality so that we could have a better opinionated stance on the above - will post it here when i find it
z
Great thanks 🙂
@nicholas Is there a place to report UI bugs? I have been posting in slack here, but I don't want to make it feel like I am spamming all of you. I really appreciate the help
n
There is! Feel free to open tickets here; there's also a #prefect-ui channel for UI-specific discussions.
👍 1