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
- Start events monitor from gitlab folder:
rails runner scripts/internal_events/monitor.rb create_merge_request create_merge_request_note
- In local Gitlab UI Create a new MR and add a comment.
- Verify the events were triggered and metrics updated
Related to #448283
Edited by Niko Belokolodov