Skip to content

Add tracking and metrics to admin gitaly servers page

Paul W requested to merge pw-admin-gitaly_servers-metrics into master

What does this MR do and why?

Adds tracking event and metrics for the admin gitaly servers page: views on pageload

ToDo

  • Add tracking script to HAML

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. View /admin/gitaly_servers page
  2. In browser, check the payload of the track_event request for the name of the event
  3. Check for increment of metric value using ruby command line tool: rails runner scripts/internal_events/monitor.rb [name of the event] https://docs.gitlab.com/ee/development/internal_analytics/internal_event_instrumentation/quick_start.html#defining-event-and-metrics

Links

#457239 (comment 1953180002)+

Edited by Paul W

Merge request reports