Add comprehensive metrics for repository rename operations
Problem
Currently, we lack comprehensive visibility into repository rename operations. While individual metrics exist for the base repository rename query and the sub-repository update query, neither captures the actual count of repositories being updated at the handler level.
Current State
- Individual metrics track the base repository rename query
- Individual metrics track the sub-repository update query
- No comprehensive metric encompasses the entire rename operation
- No visibility into the total number of targeted repositories per operation
Proposed Solution
Add comprehensive metrics and/or log entries at the handler level that:
- Track the duration of the entire rename operation
- Track the frequency of rename requests
- Include the total count of repositories being updated
Why This Matters
These metrics are essential for:
- Understanding performance characteristics of rename operations
- Making informed decisions about limit increases
- Identifying bottlenecks in rename operations
- Monitoring production behavior
- Assessing whether it's safe to increase the current repository count limit for move operations
This issue was generated by GitLab Duo