Skip to content

Track browser performance widget expansions

What does this MR do?

For more context, see #224603 (closed)

This MR adds a new usage ping event (i_testing_web_performance_widget_total) that tracks the number of unique users per instance that expand the browser performance MR widget.

Per the Usage Ping Guide, this MR adds a new feature flag (usage_data_i_testing_web_performance_widget_total) which is enabled by default, and the event is only tracked when the feature flag is enabled.

Rather than adding specs for this to the already-too-large ee_mr_widget_options_spec.js, I made the browser performance MR widget into its own component and added the spec there. This way, we can start moving the browser performance logic into the component and moving the related specs into a dedicated file.

Screenshots

Event tracking request from the network panel (gdk):

Screen_Shot_2021-01-12_at_15.21.05

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Miranda Fluharty

Merge request reports

Loading