1) Gather Project Metrics
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.
2) Separate Out Significant Branches
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.
Next Step: Configuration Review Preparation: Review Each Job for Improvement Opportunities
Comments
Article is closed for comments.