Monitor Pipeline Run
A 4-step recipe with ZenML. We can help you get access.
Recipe · 4 steps
Monitor Pipeline Run
with ZenML · Artificial Intelligence Management
Locate a pipeline's latest run and poll it until it reaches a terminal status.
- List runs for the pipeline, newest first, so the most recent run can be selected for monitoring.
- Read the run and inspect its status. While the run is still initializing or running, loop back to re-read it; once it reaches a terminal status, branch on whether it completed successfully or not.
- Read the parent pipeline for a successful run to surface its name and version alongside the terminal run status.
- Read the parent pipeline for a failed or stopped run so the failure can be reported against a named pipeline.
What you'll need to have ready
- accessToken: ZenML JWT access token obtained from the login endpoint.
- pipelineId: The uuid of the pipeline whose latest run should be monitored.
For your developer
Arazzo workflow zenml:monitor-pipeline-run, 4 operations: listPipelineRuns → getPipelineRun → getPipeline → getPipeline. Specs on APIs.io.