Skip to content

[RUN AS-IF-FOSS] [RUN ALL RSPEC] Remove metrics report usage data feature flag

What does this MR do?

For #332400 (closed)

This MR removes the usage_data_i_testing_metrics_report_widget_total feature flag, which was introduced to control tracking of the i_testing_metrics_report_widget_total usage ping event back when a feature flag was required for every event.

Screenshots or Screencasts (strongly suggested)

No visual changes are expected, but here is the widget anyway:

Screen_Shot_2021-08-23_at_18.06.00

How to setup and validate locally (strongly suggested)

  1. set up metrics reports on a project - here's a test project
  2. open a merge request that changes a metric
  3. ensure that pipelines ran for the base and head commits of the merge request
  4. navigate to the merge request
  5. expand the widget
  6. verify that the event tracking request was made: a POST to /api/v4/usage_data/increment_unique_users, resulting in a 200 response

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Andrew Fontaine

Merge request reports