The following set of API's provide a mechanism to monitor the various parameters of the pipeline run related to a block
The following API, provides a mechanism to get all the blocks of the pipeline
prun.blocks()
The following API, shows how a specific block from the run can be accessed
blkrun = prun.blocks(name="HelloWorld_1")
The blocks API, takes name as an attribute and returns the block run object which has the monitoring API's associated with the block
The following API, provides the run status of the block
blkrun.run_status()
The following API, provides the logs of the specific block in the pipeline
blkrun.logs()
The following API, shows how metrics of a specific block in the pipeline can be obtained
blkrun.metrics()
The following API, shows how the queue status of a specific block can be obtained
blkrun.queue()