pipeline_stats = project.pipelines.stats(pipeline='pipeline_entity') # # Get pipeline counters. # # **prerequisites**: You must be an *owner* or *developer* to use this method. # # :param dtlpy.entities.pipeline.Pipeline pipeline: pipeline entity - optional # :param str pipeline_id: pipeline_id - optional # :param str pipeline_name: pipeline_name - optional # :return: PipelineStats # :rtype: dtlpy.entities.pipeline.PipelineStats # #
{- "pipelineExecutionCounters": [
- {
- "status": "pending",
- "count": 0
}
], - "nodeExecutionsCounters": [
- {
- "nodeId": "string",
- "statusCount": [
- {
- "status": "created",
- "count": 0
}
]
}
], - "pipelineExecutionStatistics": {
- "avgTimePerExecution": 0,
- "avgExecutionsPerDay": 0
}, - "nodeExecutionStatistics": [
- {
- "nodeId": "string",
- "executionStatistics": {
- "avgTimePerExecution": 0,
- "avgExecutionsPerDay": 0
}
}
]
}