Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedisTooManyMasters with multiple Redis clusters #904

Closed
exolab opened this issue May 13, 2024 · 2 comments
Closed

RedisTooManyMasters with multiple Redis clusters #904

exolab opened this issue May 13, 2024 · 2 comments
Assignees
Labels

Comments

@exolab
Copy link

exolab commented May 13, 2024

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?

@oliver006
Copy link
Owner

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.

@exolab
Copy link
Author

exolab commented May 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants