Add number of users per access level in Namespaces API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

Service ping contains the number of users but we don't know the repartition between the different roles (Guest, Developer, ...).

To help us better understand how GitLab is used and make better decisions, we need to know how many users are in each access level.

Iterations:

  1. Add user role counts to namespaces API (this issue)
  2. Instrument items for Service Ping to send back the data

Proposal

Add 5 new items in the Namespaces API:

  • user_guest_level_count
  • user_reporter_level_count
  • user_developer_level_count
  • user_master_level_count
  • user_owner_level_count

Suggestion

  1. Please note the implementation suggestion to utilize the namespace api for this work in order to obtain the data for both SM and SaaS in a consistent format: #17674 (comment 803529732)
Edited Sep 16, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading