Track total visits to value streams dashboard page
What does this MR do and why?
Count total number of visits to value streams dashboard page.
The metric should behave as follows:
- time_frame: monthly, weekly
- name: analytics_counts_visits.g_metrics_comparison_page
- both SaaS and self-manage
Next step is to record unique views for the same page.
related to #384010 (closed)
How to set up and validate locally
Execute the following at a rails console:
# Manually increment the count for the event, can be executed many time as wanted
Gitlab::UsageDataCounters::ValueStreamsDashboardCounter.count(:views)
# Build the payload
payload = ServicePing::BuildPayload.new.execute
# Check the recorded value
payload['analytics_counts_visits']['g_metrics_comparison_page']
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.
Edited by Felipe Cardozo