gitlab-org--gitlab-foss/doc/user/instance_statistics/user_cohorts.md
Rubén Dávila 24226b9fe2 Update last_activity_on for Users on some main GET endpoints
In order to have an accurate date about the last activity of a User
we need to update the last_activity_on field when the User is visiting
some basic pages of GitLab like pages related to Dashboards, Projects,
Issues and Merge Requests
2019-02-05 09:55:31 -05:00

1.2 KiB

Cohorts

Introduced in GitLab 9.1.

As a benefit of having the usage ping active, GitLab lets you analyze the users' activities over time of your GitLab installation.

Overview

How do we read the user cohorts table? Let's take an example with the following user cohorts.

User cohort example

For the cohort of Jan 2018, 15 users have been added on this server and have been active since this month. One month later, in Feb 2018, all 15 users are still active. 6 months later (Month 6, July), we can see 10 users from this cohort are active, or 66% of the original cohort of 15 that joined in January.

The Inactive users column shows the number of users who have been added during the month, but who have never actually had any activity in the instance.

How do we measure the activity of users? GitLab considers a user active if:

  • The user signs in.
  • The user has Git activity (whether push or pull).
  • The user visits pages related to Dashboards, Projects, Issues and Merge Requests (introduced in GitLab 11.8).