debian-mirror-gitlab/doc/user/analytics/merge_request_analytics.md
2023-04-23 21:23:45 +05:30

2.9 KiB

description stage group info
Merge request analytics help you understand the efficiency of your code review process, and the productivity of your team. Plan Optimize To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments

Merge request analytics (PREMIUM)

  • Introduced in GitLab 13.3.
  • Moved to GitLab Premium in 13.9.

Use merge request analytics to view:

  • The number of merge requests your organization merged per month.
  • The average time between merge request creation and merge event.
  • Information about each merged merge request (such as milestone, commits, line changes, and assignees).

You can use merge request analytics to identify:

  • Low or high productivity months.
  • The efficiency and productivity of your merge request and code review processes.

View merge request analytics

Prerequisite:

  • You must have at least the Reporter role.

To view merge request analytics:

  1. On the top bar, select Main menu > Projects and find your project.
  2. On the left sidebar, select Analytics > Merge request.

View the number of merge requests in a date range

To view the number of merge requests merged during a specific date range:

  1. On the top bar, select Main menu > Projects and find your project.
  2. On the left sidebar, select Analytics > Merge request.
  3. Optional. Filter results:
    1. Select the filter bar.
    2. Select a parameter.
    3. Select a value or enter text to refine the results.
    4. To adjust the date range:
      • In the From field, select a start date.
      • In the To field, select an end date.

The Throughput chart shows issues closed or merge requests merged (not closed) over a period of time.

The table shows up to 20 merge requests per page, and includes the following information about each merge request:

  • Merge request name
  • Date merged
  • Time to merge
  • Milestone
  • Commits
  • Pipelines
  • Line changes
  • Assignees

View average time between merge request creation and merge

Introduced in GitLab 13.9.

The number in Mean time to merge shows the average time between when a merge request is created and when it's merged. Closed and not yet merged merge requests are not included.

To view Mean time to merge:

  1. On the top bar, select Main menu > Projects and find your project.
  2. On the left sidebar, select Analytics > Merge request. The Mean time to merge number is displayed on the dashboard.