Deprecate/Remove pipeline total duration from the Analytics Page
Problem to solve
Remove the Total duration
statistic from the Project -> Analytics -> CI/CD
page
Further details
As part of our current efforts to reduce the LCP (Largest Content Paint) metrics across GitLab, the Analytics -> CI/CD page current has among the highest LCP numbers, and while !48267 (merged) has helped reduced this number a bit, on production the "Total duration" metric it's causing a 500 error due to significant amount of time that the query needs to run on the GitLab project. Smaller projects are unaffected if the number of pipelines are low but as the number of pipelines increases, the query will start taking significantly more time until it times out.
The proposed solution involves removing this metric from both the frontend and backend, since there's no easy way to calculate this metric even with optimizations to it. There are other ways to access this information across the product