Get Performance Bottlenecks
get_bottlenecksIdentify the slowest and most credit-intensive jobs across all workflows to find resource over-provisioning and credit hot-spots.
Instructions
Identify the slowest and most credit-intensive jobs across all workflows in a project. Fetches Insights data for every workflow, then for every job within each workflow, and returns results sorted by total_credits_used. Use this to find resource_class over-provisioning, unnecessary serialisation, and credit hot-spots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Filter to a specific branch. Defaults to the default branch. | |
| all_branches | No | Set true to aggregate across all branches. | |
| project_slug | Yes | Project slug (e.g. gh/org/repo or circleci/orgID/projectID). | |
| reporting_window | No | Time window for Insights aggregation. | last-30-days |