Skip to content

Make usage quotas transfer tab available in CE and EE

Peter Hegman requested to merge move-usage-quotas-transfer-to-ce into master

What does this MR do and why?

We are starting to build a dashboard to monitor egress data transfer. For more context about this dashboard see https://gitlab.com/groups/gitlab-org/-/epics/7421. So far we have only done !112978 (merged) on the frontend.

At first I thought this dashboard would be EE only but after talking with my team it was decided that this data should also be available in CE. Slack thread

This MR moves the related code from the ee directory to the main app directory.

Note: only the boilerplate Vue code has been setup so the Transfer tab doesn't actually show anything yet. The rest is planned to be completed in https://gitlab.com/groups/gitlab-org/-/epics/9487

Screenshots or screen recordings

EE

No changes, expected to look the same

Before After
Screenshot_2023-03-06_at_10.50.37_AM Screenshot_2023-03-06_at_10.43.33_AM

CE

Before After
Screenshot_2023-03-06_at_10.44.43_AM Screenshot_2023-03-06_at_10.43.33_AM

How to set up and validate locally

Enable the data_transfer_monitoring feature flag.

bin/rails console
Feature.enable(:data_transfer_monitoring)

EE

  1. Go to a group -> Settings -> Usage quotas

CE

  1. Start GDK in FOSS mode
    • export FOSS_ONLY=1 && gdk restart
  2. Go to a group -> Settings -> Usage quotas

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