Skip to content

Include sub-groups in product analytics usage data

What does this MR do and why?

Query for all projects within the group + all subgroups for the product analytics usage quota page.

Currently it only queries the top-level projects.

Screenshots or screen recordings

No UI changes.

How to set up and validate locally

  1. Requires GitLab Ultimate.
  2. Follow these instructions to set up Product Analytics in your GDK.
  3. Create a group, and a subgroup
  4. Create a project in the group, and in the subgroup
  5. Onboard both projects with product analytics, and generate events in both
  6. Visit the group -> Settings -> Usage Quota
  7. Verify both projects shown in the table, and total counts reflect both

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #431082 (closed)

Edited by Elwyn Benson

Merge request reports