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

82 lines
3 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
---
2023-04-23 21:23:45 +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-04-23 21:23:45 +05:30
Contribution analytics provide an overview of the
[contribution events](../../profile/contributions_calendar.md#user-contribution-events) made by your group's members.
2019-09-04 21:01:54 +05:30
2023-04-23 21:23:45 +05:30
Use contribution analytics data visualizations to:
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
- Analyze your group's contributions over a period of time.
- Identify group members who are high-performers or may benefit from additional support.
2021-11-18 22:05:49 +05:30
2023-04-23 21:23:45 +05:30
## View contribution analytics
To view contribution analytics:
2021-11-18 22:05:49 +05:30
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**.
2023-04-23 21:23:45 +05:30
Three bar charts and a table illustrate the number of contributions made by each group member:
2019-09-04 21:01:54 +05:30
- Push events
- Merge requests
- Closed issues
2023-04-23 21:23:45 +05:30
### View a member's contributions
You can view the number of events associated with a specific group member.
To do this, hover over the bar with the member's name.
2019-07-31 22:56:46 +05:30
![Contribution analytics bar graphs](img/group_stats_graph.png)
2023-04-23 21:23:45 +05:30
### Zoom in on a chart
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
You can zoom in on a bar chart to display only a subset of group members.
2019-09-04 21:01:54 +05:30
2023-04-23 21:23:45 +05:30
To do this, select the sliders (**{status-paused}**) below the chart and slide them along the axis.
### Sort contributions
Contributions per group member are also displayed in tabular format.
The table columns include the members' names and the number of contributions for different events.
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
To sort the table by a column, select the column header or the chevron (**{chevron-lg-down}**
for descending order, **{chevron-lg-up}** for ascending order).
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
## Change the time period
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
You can display contribution analytics over different time periods:
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
- Last week (default)
- Last month
- Last three months
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
To change the time period of the contribution analytics, select one of the three tabs
under **Contribution Analytics**.
2019-07-31 22:56:46 +05:30
2023-04-23 21:23:45 +05:30
The selected time period applies to all charts and the table.
2019-07-31 22:56:46 +05:30
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. -->