Pipeline duration chart
Problem to solve
As a Developer/Team Lead I want to see the trend of pipeline duration for my /main branch over time, so I can tell if the pipeline is getting slower.
This feature would improve insight into the duration of successful/failed jobs over time. This would help identify jobs with a long duration easily and could reduce overall time spent on a pipeline.
Intended users
Further details
Even-though individual jobs show their duration there is no overview of duration of shared jobs across pipelines. Having this feature available would allow engineers to easily detect which jobs have a long duration and optimize those jobs if possible.
MVC Proposal
- Add a Pipeline Duration Chart to Analytics -> CI/CD
- Track pipeline execution time of the default branch filtered for "successful" pipeline status, any trigger source.
- This is purposefully limited in scope to a single branch and status to test the idea users want the data. We will consider this successful with page views and/or feedback of next iterations that would be helpful about additional branches/statuses to display.
- Add a link to the page from main pipelines view
- Could be a single link with text "Pipeline Duration Over time" or link duration in the Status column to the page? Other? The idea is someway to see the trend in duration for the successful pipelines on the default branch.
Permissions and Security
Any user who can access the Analytics -> CI/CD page can view this chart.
Testing
Unknown.
What does success look like, and how can we measure that?
- This is successful if users look at the data, measure page views of the page.
- This is successful if there are comments from users in the feedback issue with ideas for future iterations.
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.