debian-mirror-gitlab/doc/user/analytics/productivity_analytics.md

65 lines
3.6 KiB
Markdown
Raw Normal View History

2020-05-24 23:13:21 +05:30
---
stage: Manage
2021-01-29 00:20:46 +05:30
group: Value Stream Management
2020-06-23 00:09:42 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
2020-05-24 23:13:21 +05:30
---
2019-12-04 20:38:33 +05:30
# Productivity Analytics **(PREMIUM)**
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/12079) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.3.
2019-12-04 20:38:33 +05:30
Track development velocity with Productivity Analytics.
2020-06-23 00:09:42 +05:30
For many companies, the development cycle is a black box and getting an estimate of how
2019-12-04 20:38:33 +05:30
long, on average, it takes to deliver features is an enormous endeavor.
2021-01-03 14:25:43 +05:30
While [Value Stream Analytics](../analytics/value_stream_analytics.md) focuses on the entire
2020-04-08 14:13:33 +05:30
Software Development Life Cycle (SDLC) process, Productivity Analytics provides a way for Engineering Management to drill down in a systematic way to uncover patterns and causes for success or failure at an individual, project, or group level.
2019-12-04 20:38:33 +05:30
Productivity can slow down for many reasons ranging from degrading code base to quickly growing teams. In order to investigate, department or team leaders can start by visualizing the time it takes for merge requests to be merged.
## Supported features
Productivity Analytics allows GitLab users to:
- Visualize typical merge request (MR) lifetime and statistics. Use a histogram that shows the distribution of the time elapsed between creating and merging merge requests.
- Drill down into the most time consuming merge requests, select a number of outliers, and filter down all subsequent charts to investigate potential causes.
2020-04-08 14:13:33 +05:30
- Filter by group, project, author, label, milestone, or a specific date range. For example, filter down to the merge requests of a specific author in a group or project during a milestone or specific date range.
2019-12-04 20:38:33 +05:30
- Measure velocity over time. Visualize the trends of each metric from the charts above over time in order to observe progress. Zoom in on a particular date range if you notice outliers.
## Accessing metrics and visualizations
2020-03-13 15:44:24 +05:30
To access the chart, navigate to a group's sidebar and select **Analytics > Productivity Analytics**.
2019-12-04 20:38:33 +05:30
The following metrics and visualizations are available on a project or group level - currently only covering **merged** merge requests:
- Histogram showing the number of merge request that took a specified number of days to merge after creation. Select a specific column to filter down subsequent charts.
- Histogram showing a breakdown of the time taken (in hours) to merge a merge request. The following intervals are available:
- Time from first commit to first comment.
- Time from first comment until last commit.
- Time from last commit to merge.
- Histogram showing the size or complexity of a merge request, using the following:
- Number of commits per merge request.
- Number of lines of code per commit.
- Number of files touched.
- Scatterplot showing all MRs merged on a certain date, together with the days it took to complete the action and a 30 day rolling median.
2019-12-21 20:55:43 +05:30
- Table showing the list of merge requests with their respective time duration metrics.
2019-12-04 20:38:33 +05:30
- Users can sort by any of the above metrics.
2019-12-26 22:10:19 +05:30
## Date ranges
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/13188) in GitLab 12.4.
2019-12-26 22:10:19 +05:30
GitLab has the ability to filter analytics based on a date range. To filter results:
1. Select a group.
1. Optionally select a project.
1. Select a date range using the available date pickers.
2019-12-04 20:38:33 +05:30
## Permissions
The **Productivity Analytics** dashboard can be accessed only:
- On [Premium or Silver tier](https://about.gitlab.com/pricing/) and above.
- By users with [Reporter access](../permissions.md) and above.