Productivity analytics (PREMIUM ALL)
You can use productivity analytics to identify:
- Your development velocity based on how long it takes for a merge request to merge.
- The most time consuming merge requests and potential causes.
- Authors, labels, or milestones with the longest time to merge, or most changes.
Use productivity analytics to view the following merge request statistics for your groups:
- Amount of time between merge request creation and merge.
- Amount of time between commits, comments, and merge.
- Complexity of changes, like number of lines of code per commit and number of files.
To view merge request data for projects, use Merge request analytics.
View productivity analytics
Prerequisite:
- You must have at least the Reporter role for the group.
- On the left sidebar, at the top, select Search GitLab ({search}) to find your group.
- Select Analyze > Productivity analytics.
- Optional. Filter results:
- Select a project from the dropdown list.
- To filter results by author, milestone, or label, select Filter results... and enter a value.
- To adjust the date range:
- In the From field, select a start date.
- In the To field, select an end date.
View time metrics for merge requests
Use the following charts in productivity analytics to view the velocity of your merge requests:
- Time to merge: number of days it took for a merge requests to merge after they were created.
- Trendline: number of merge requests that were merged in a specific time period.
- On the left sidebar, at the top, select Search GitLab ({search}) to find your group.
- Select Analyze > Productivity analytics.
To filter time metrics:
- To filter the Trendline chart, in the Time to merge chart, select a column.
- To view a specific merge request, below the charts, select a merge request from the List.
View commit statistics
To view commit statistics for your group:
- On the left sidebar, at the top, select Search GitLab ({search}) to find your group.
- Select Analyze > Productivity analytics.
- Under the Trendline scatterplot, view the commit statistics:
- The left histogram shows the number of hours between commits, comments, and merges.
- The right histogram shows the number of commits and changes per merge request.
To filter commit statistics:
- To view different types of commit data, select the dropdown list next to each histogram.
- To view a specific merge request, below the charts, select a merge request from the List.