Refactor redis instrumentation ahead of Sidekiq 7 upgrade
What does this MR do and why?
This MR refactors Redis instrumentation logic into a Gitlab::Instrumentation::RedisHelper
to be reused in !135185 (merged).
This reduces the complexity of the gem upgrade MR: !135185 (comment 1649525886).
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
Numbered steps to set up and validate the change are strongly suggested.
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.