Skip to content

Convert redis counts.merge_requests metrics to InternalEvents

What does this MR do and why?

The code changes involve replacing the usage of Redis-based counters for tracking events related to merge requests and notes with Internal event tracking.

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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Start events monitor from gitlab folder: rails runner scripts/internal_events/monitor.rb create_merge_request create_merge_request_note
  2. In local Gitlab UI Create a new MR and add a comment.
  3. Verify the events were triggered and metrics updated

Screenshot_2024-05-17_at_11.45.36_AM

Related to #448283

Edited by Niko Belokolodov

Merge request reports