Hi folks,
Is there a way to get meta of flow run ( like, flow run name, started time etc.) inside the flow run.
For example,
few of my task inside the flow run inserts data in a database, so for monitoring and logging purpose I want to map flow run to those inserts, so think of like adding few columns to the table in db, named
prefect_flow_run_id
and
prefect_flow_version
and inserting those params in the db
t
Tyler Rouze
06/17/2022, 9:38 PM
I think you're looking for: Context | Prefect Docs
You could build a task that connects to your db and inserts these values during the run
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.