Skip to content

Integrate usage statistics with new API

What does this MR do?

Changes are behind additional_repo_storage_by_namespace feature flag. Part of https://gitlab.com/gitlab-org/gitlab/-/issues/247844 and https://gitlab.com/gitlab-org/gitlab/-/issues/247831

This iteration

The getStorageCounter GraphQL API was recently updated to pass additional storage-related data. This MR uses that data populate the UI pieces.

Please check out the demo video for full information.

Past iterations:

Update Usage quotas table - !43644 (merged)
Add usage stat boxes to Usage Quota page - !44221 (merged)
Add error and warning alert tooltips to usage quotas table - !44396 (merged)

Screenshots

Demo new: https://www.loom.com/share/b90dee605de443869c1fe08a55afe7e0 (with voice so lower your volumes 🎧)
Demo old: https://drive.google.com/file/d/1pNmCxg_pPhBWZXvEEUJ6Z2udVFXA_dtg/view?usp=sharing

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Dhiraj Bodicherla

Merge request reports