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

67 lines
2.6 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
2022-04-04 11:22:00 +05:30
description: "Merge request analytics help you understand the efficiency of your code review process, and the productivity of your team." # Up to ~200 chars long. They will be displayed in Google Search snippets. It may help to write the page intro first, and then reuse it here.
2020-10-24 23:57:45 +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-10-24 23:57:45 +05:30
---
2022-04-04 11:22:00 +05:30
# Merge request analytics **(PREMIUM)**
2020-10-24 23:57:45 +05:30
2021-06-08 01:23:25 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/229045) in GitLab 13.3.
> - Moved to GitLab Premium in 13.9.
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
Use merge request analytics to view:
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
- The number of merge requests your organization merged per month.
- The average time between merge request creation and merge.
- Information about each merged merge request.
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
You can use merge request analytics to identify:
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
- Low or high productivity months.
- Efficiency and productivity of your merge request process.
- Efficiency of your code review process.
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
## View merge request analytics
You must have at least the Reporter role to view merge request analytics.
To view merge request analytics:
2021-11-11 11:23:49 +05:30
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Analytics > Merge request**.
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
## View merge requests merged per month
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/232651) in GitLab 13.3.
> - Filtering [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/229266) in GitLab 13.4
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
To view the number of merge requests merged per month:
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Analytics > Merge request**.
2022-05-07 20:08:51 +05:30
1. Optional. Filter results:
2022-04-04 11:22:00 +05:30
1. Select the filter bar.
1. Select a parameter.
1. Select a value or enter text to refine the results.
1. To adjust the date range:
- In the **From** field, select a start date.
- In the **To** field, select an end date.
2020-10-24 23:57:45 +05:30
2022-04-04 11:22:00 +05:30
The **Throughput** chart shows the number of merge requests merged per month.
2020-11-24 15:15:51 +05:30
2022-04-04 11:22:00 +05:30
The table shows up to 20 merge requests per page, and includes
information about each merge request.
2020-11-24 15:15:51 +05:30
2022-04-04 11:22:00 +05:30
## View average time between merge request creation and merge
2021-04-17 20:07:23 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/229389) in GitLab 13.9.
2022-04-04 11:22:00 +05:30
Use the number in **Mean time to merge** to view the average time between when a merge request is
created and when it's merged.
2020-11-24 15:15:51 +05:30
2022-04-04 11:22:00 +05:30
To view **Mean time to merge**:
2020-11-24 15:15:51 +05:30
2022-04-04 11:22:00 +05:30
1. On the top bar, select **Menu > Projects** and find your project.
1. On the left sidebar, select **Analytics > Merge request**.