oliver006 / redis_exporter

Prometheus Exporter for ValKey & Redis Metrics. Supports ValKey and Redis 2.x, 3.x, 4.x, 5.x, 6.x, and 7.x

Home Page:https://github.com/oliver006/redis_exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RedisTooManyMasters with multiple Redis clusters

exolab opened this issue · comments

We are seeing this alert after deploying multiple Redis clusters in different namespaces. AFAICT Redis itself does not consider this setup a problem.

Does the alert not take this scenario into account, or are we mistaken in thinking we do not have a real problem?

Shouldn't the query be

count(redis_instance_info{role="master"}) by (namespace) > 1 or something similar that takes this scenario into account?

Interesting. Where/how was the alert created? Is it part the provided grafana dashboard?
From your description it sounds likely that the query is wrong.

Thank you for your answer.

We are seeing it in Alertmanager. I have now created an issue where the rule is actually defined. ;)

samber/awesome-prometheus-alerts#419