The UI can be used to gather metrics, but when doing multiple config reviews it is helpful to write a script that uses the CircleCI API. There are many Insights endpoints available to choose from, but a good place to start is the project summary endpoint which provides metrics down to the branch level for workflows in the project.
Metrics for all branches can be useful but for certain metrics, like success rate or mean time to recovery, it is helpful to separate out important branches. Branches such as main, staging, qa, etc have different expectations so metric goals will be different as well. The project summary endpoint can be filtered to show specific branches.
Previous Step: Review CircleCI Features
📑 Table of Contents
- Configuration Review Preparation
- Review Each Job for Improvement Opportunities
- Review Each Workflow for Improvement Opportunities
- High Level Improvement Opportunities
- Finalize Review