Include sub-groups in product analytics usage data
Background
Our product analytics usage quota tab queries for all projects within the group. However currently this is only at a single level, and excludes projects nested in sub-groups.
This does not match expectations, particularly as the UI text suggests we are seeing "total group usage" etc.
Proposal
Include projects form nested sub-groups in our query.
Implementation plan
- amend get_group_current_and_prev_product_analytics_usage.query.graphql to include the
include_subgroups
parameter
Edited by Elwyn Benson