GitLab Exporter: Enabled control of various exporter items
Summary
GitLab Helm chart should support enable / disable of probes.
The GitLab Exporter currently does not support the use of Redis Sentinels for the Sidekiq probes. We need to be able to enable / disable this. This is step one, while we await Can not configure external redis with sentinels (gitlab-org/ruby/gems/gitlab-exporter#33) to be resolved.
To do this, we can look to feature parity with the Omnibus GitLab for configuring probe groups. See Prometheus Gitlab exporter
section of gitlab.rb.example
Steps to reproduce
See GitLab exporter does not connect redis via sent... (#3813)
Configuration used
Chart is configured to consume Redis with Sentinels.
Current behavior
All supported probes are configured, at all times. Exporter fills logs with Error connecting to the Redis: Error connecting to Redis on gitlab-redis:6379 (SocketError)
Expected behavior
Various probe classes of GitLab Exporter can be enabled or disabled. Notice is given via NOTES.txt
if these need to be disabled automatically (such as Sentinels not supported)
Versions
- Chart: All
Relevant logs
See GitLab exporter does not connect redis via sent... (#3813)
Acceptance criteria
-
⚠ probe_sidekiq
-
❔ probe_elasticsearch
(currently, this probe not available) -
🤷 others?