Skip to content

Track redirection counts within a Redis pipeline

Sylvester Chin requested to merge sc1-instrument-pipeline-redirection into master

What does this MR do and why?

This MR track redirection counts within a Redis pipeline using a histogram. For pipeline redirections, the errors are being tracked under the gitlab_redis_client_exceptions_total counter. But they are handled in redis-cluster-client. We instrument the RedisClient middleware but the cluster client handles pipeline redirection outside of the middleware.

See gitlab-com/gl-infra/production#17931 (comment 1891102014)

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

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports