Skip to content

Add transfer data used box to transfer data usage quotas tab

Peter Hegman requested to merge 386407-transfer-data-used-box into master

What does this MR do and why?

Related to #386407

We are starting to build a dashboard to monitor egress data transfer. The first dashboard will be at the group level in Settings -> Usage quotas.

This MR builds the "Transfer data used" box at the top of the dashboard. The rest of the dashboard will be built out incrementally in https://gitlab.com/groups/gitlab-org/-/epics/9487

Screenshots or screen recordings

Desktop

State Screenshot
Loading Screenshot_2023-03-09_at_2.49.07_PM
Error Screenshot_2023-03-09_at_2.51.02_PM
Success Screenshot_2023-03-09_at_2.48.39_PM

Mobile

State Screenshot
Loading Screenshot_2023-03-09_at_2.54.36_PM
Error Screenshot_2023-03-09_at_2.55.20_PM
Success Screenshot_2023-03-09_at_2.53.51_PM

How to set up and validate locally

  1. Enable the data_transfer_monitoring feature flag
    • bin/rails console
    • Feature.enable(:data_transfer_monitoring)
  2. Navigate to a top level group -> Settings -> Usage quotas
  3. Click on the Transfer tab

MR acceptance checklist

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

Edited by Peter Hegman

Merge request reports

Loading