Add option to track non-namespaces Sidekiq keys
With the probe_namespaced and probe_non_namespaced options, we can track both namespaced and
non-namespaced keys during namespace deprecation.
See gitlab-com/gl-infra/scalability#2285
Local verification
- spin up a Redis instance
redis-serverand updateconfig/redis.queues.ymlin your GDK'sgitlabfolder path to:
➜ gitlab git:(sc1-skfetcher-dual-fetch) ✗ cat config/redis.queues.yml
---
development: redis://localhost:6379
- Start a metric server via https://gitlab.com/gitlab-org/gitlab-exporter#running-gitlab-exporter-as-a-web-exporter. Run the
curlcommand to fetch sidekiq metrics
curl localhost:9168/sidekiq
- The actual namespaced vs non-namespaced workloads can be generated using this MR gitlab-org/gitlab!116379 (merged).
Edited by Sylvester Chin