https://prefect.io logo
Title
p

Patrick Tan

06/02/2022, 6:33 PM
Hi, Prefect stores all these information about flow run and shows nicely with UI like below, is the a way to download run data so we can perform analysis. Eg, average duration of task..etc
j

Jessica Smith

06/02/2022, 6:34 PM
that's the only way i've found to do it, short of sending all logs somewhere else at runtime
🙌 1
p

Patrick Tan

06/02/2022, 6:40 PM
Thanks, I’ll check it out
k

Kevin Kho

06/02/2022, 6:59 PM
For task duration, you can use the GraphQL api to get that start time and end time of a task, but you need to process it further with Python to get duration since we don’t have duration calculated in the database
p

Patrick Tan

06/02/2022, 7:08 PM
I am thinking of ingesting these data to our database. We are using Standard Plan, so these data is kept for 14 days?
k

Kevin Kho

06/02/2022, 7:11 PM
Yes that’s right. So other people pump their logs to a logging tool like DataDog or something