Lightning.Runs.PromExPlugin.ImpededProjectHelper (Lightning v2.15.0-pre5)

View Source

Code to support the generation of the impeded project metric.

The methods in this module will find workflows that have available runs that are older than a given threshold. These workflows can then be checked to see if they could benefit from increased worker capacity based on comparing in-progress runs against the concurrency limits of the project and workflow.

Summary

Functions

find_projects_with_unused_concurrency(workflow_stats)

project_has_unused_concurrency?(workflows)

workflow_has_unused_concurrency?(stats)

workflows_with_available_runs_older_than(threshold_time)