https://prefect.io logo
Title
m

Manuel Mourato

04/02/2020, 2:43 PM
Also, is there any support from Prefect Core to store flow and task metadata in a Postgres db? For example, store each flow and task runs ID and their states? Thank you.
e

emre

04/02/2020, 2:54 PM
I believe you could use state handlers to populate a postgres db, or anywhere really: https://docs.prefect.io/core/concepts/notifications.html#state-handlers Also, the newly released prefect server stores metadata at its own postgres server, which is used to provide you with information in the prefect server UI. That may be too overkill a solution to just store metadata though.
👍 1
:upvote: 1
m

Manuel Mourato

04/02/2020, 4:36 PM
Thank you for your reply. I was using state handlers to monitor the tasks, didnt think about using them to store the metadata, you're absolutely right 🙂