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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
2.7 KiB
Markdown
Raw Normal View History

2020-05-24 23:13:21 +05:30
---
stage: Manage
2021-02-22 17:27:13 +05:30
group: Optimize
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/#assignments
2020-05-24 23:13:21 +05:30
---
2022-08-27 11:52:29 +05:30
# Productivity analytics **(PREMIUM)**
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
You can use productivity analytics to identify:
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
- 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.
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
Use productivity analytics to view the following merge request statistics for your groups:
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
- 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.
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
To view merge request data for projects, use [Merge request analytics](../analytics/merge_request_analytics.md).
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
## View productivity analytics
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
Prerequisite:
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
- You must have at least the Reporter role for the group.
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Analytics > Productivity**.
1. Optional. Filter results:
1. Select a project from the dropdown list.
1. To filter results by author, milestone, or label,
select **Filter results...** and enter a value.
1. To adjust the date range:
- In the **From** field, select a start date.
- In the **To** field, select an end date.
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
## View time metrics for merge requests
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
Use the following charts in productivity analytics to view the velocity of your merge requests:
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
- **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.
2019-12-04 20:38:33 +05:30
2022-08-27 11:52:29 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Analytics > Productivity**.
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
To filter time metrics:
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
1. To filter the **Trendline** chart, in the **Time to merge** chart, select a column.
1. To view a specific merge request, below the charts, select a merge request from the **List**.
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
## View commit statistics
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
To view commit statistics for your group:
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Analytics > Productivity**.
1. 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.
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
To filter commit statistics:
2021-12-11 22:18:48 +05:30
2022-08-27 11:52:29 +05:30
1. To view different types of commit data, select the dropdown list next to each histogram.
1. To view a specific merge request, below the charts, select a merge request from the **List**.