Add load performance widget telemetry events
What does this MR do and why?
This MR adds the redis hll metrics necessary for us to track view/expand/click events on the load performance merge request widget.
This MR redoes what this MR did but had to be reverted, this time without breaking master
because the pipeline has passed with pipeline:run-all-rspec
For #368874
This MR defines events to be tracked using Redis counter and HLL for the load performance widget.
The load performance widget extends the
base.vue
component, which sets up telemetry when it is created that tracks a standard set of events for the widget.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
git checkout 384232-add-load-performance-widget-telemetry
- have a GitLab Premium license or higher
- find/clone a project that generates load performance reports
- open a merge request in the project, ensure pipelines ran for its base and head commits, and navigate to the merge request page
- open the
Network
tab in your browser's devtools - interact with the load performance widget and verify that requests are made to
increment_unique_users
andincrement_counter
when you do so
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #384232 (closed)