debian-mirror-gitlab/doc/user/group/contribution_analytics/index.md

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

79 lines
2.7 KiB
Markdown
Raw Normal View History

2019-09-04 21:01:54 +05:30
---
type: reference
2022-11-25 23:54:43 +05:30
stage: Plan
2021-02-22 17:27:13 +05:30
group: Optimize
2022-11-25 23:54:43 +05:30
info: 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
2019-09-04 21:01:54 +05:30
---
2021-03-11 19:13:27 +05:30
# Contribution Analytics **(PREMIUM)**
2019-07-31 22:56:46 +05:30
2021-06-08 01:23:25 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/3090) in GitLab 12.2 for subgroups.
2019-07-31 22:56:46 +05:30
2023-01-13 00:05:48 +05:30
With Contribution Analytics, you can get an overview of the [contribution events](../../profile/contributions_calendar.md#user-contribution-events) in your
2021-09-30 23:02:18 +05:30
group.
2019-09-04 21:01:54 +05:30
2022-04-04 11:22:00 +05:30
- Analyze your team's contributions over a period of time.
2019-09-04 21:01:54 +05:30
- Identify opportunities for improvement with group members who may benefit from additional
2019-09-30 21:07:59 +05:30
support.
2019-07-31 22:56:46 +05:30
2021-11-18 22:05:49 +05:30
## View Contribution Analytics
To view Contribution Analytics:
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Groups** and find your group.
2021-11-18 22:05:49 +05:30
1. On the left sidebar, select **Analytics > Contribution**.
2019-07-31 22:56:46 +05:30
## Using Contribution Analytics
2023-03-04 22:38:38 +05:30
Three bar graphs illustrate the number of contributions made by each group member:
2019-09-04 21:01:54 +05:30
- Push events
- Merge requests
- Closed issues
Hover over each bar to display the number of events for a specific group member.
2019-07-31 22:56:46 +05:30
![Contribution analytics bar graphs](img/group_stats_graph.png)
## Changing the period time
2019-09-04 21:01:54 +05:30
You can choose from the following three periods:
- Last week (default)
- Last month
- Last three months
2019-07-31 22:56:46 +05:30
2023-01-13 00:05:48 +05:30
Select the desired period from the calendar dropdown list.
2019-07-31 22:56:46 +05:30
![Contribution analytics choose period](img/group_stats_cal.png)
## Sorting by different factors
2022-07-23 23:45:48 +05:30
Contributions per group member are also presented in tabular format. Select a column header to sort the table by that column:
2019-07-31 22:56:46 +05:30
2019-09-30 21:07:59 +05:30
- Member name
- Number of pushed events
- Number of opened issues
- Number of closed issues
- Number of opened MRs
2020-06-23 00:09:42 +05:30
- Number of merged MRs
2021-10-27 15:23:28 +05:30
- Number of closed MRs
2019-09-30 21:07:59 +05:30
- Number of total contributions
2019-07-31 22:56:46 +05:30
![Contribution analytics contributions table](img/group_stats_table.png)
2023-01-13 00:05:48 +05:30
## Contribution analytics GraphQL API
To retrieve metrics for user contributions, use the [GraphQL](../../../api/graphql/reference/index.md#groupcontributions) API.
2019-09-04 21:01:54 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
2023-01-13 00:05:48 +05:30
Each scenario can be a third-level heading, for example `### Getting error message X`.
2019-09-04 21:01:54 +05:30
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->