Loading
Add totalActiveUsers to subscriptionUsage.usersUsage
What does this MR do and why?
This adds totalActiveUsers to subscriptionUsage.usersUsage as part of https://gitlab.com/gitlab-org/gitlab/-/work_items/594756
Clients can now query how many users are using gitlab credits
Changelog: added EE: true
References
Screenshots or screen recordings
N/A
How to set up and validate locally
- Checkout this MR's steps to generate some data.
- Open GraphQL and execute this query:
Query:
query getSubscriptionUsage($namespacePath: ID) {
subscriptionUsage(namespacePath: $namespacePath) {
usersUsage {
totalActiveUsers
}
}
}Variables:
{
"namespacePath": "your-group"
}MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Sheldon Led