Collections:
- Flows - Basically capture the entire flow (the different steps, how they're connected with each other, etc.)
- Flow Records - Individual data points which will be captured
- Single logs are kept here with the associated step name
Flow
- Metrics
- Parameters
- Start Date
- Stop Date
Flow Record
- uuid
- Step Name (node name in the graph)
- Step Data
- Ref to Flow
logger.log(step_name, data)
Run:
|- Step Info
|- Run Info
- Create a new Flow / Retrieve an existing flow
- Add the steps
- Create a new run
- Log to steps / to run
- Save the info