Metric for Network partition detected #10558
-
Is your feature request related to a problem? Please describe.Cluster status - cluster has experienced a network partition Describe the solution you'd likeMetric that shows the status of the cluster: Network partition detected Describe alternatives you've consideredA third party exporter has a metric Additional contextI am using RabbitMQ version 3.12.12 and Erlang 26.2.1. I see that there is a metric |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello, and thanks for using RabbitMQ.
If there is an issue that can be reproduced, please provide EXACT steps for doing so.
This might seem easy but anything you can do (like provide the exact commands you ran) would help us focus on the issue rather than wasting time trying to reproduce it. Even better would be a docker compose project demonstrating the issue. If we find an actual bug, an issue can be filed. |
Beta Was this translation helpful? Give feedback.
-
The idea behind the above metric was exactly the same as what you have in mind. However, this metric will work fine in the world of 4.x/Khepri where most “partition handling” states will go away entirely since the recovery algorithm for everything will be that of Raft. Therefore introducing a different version of these metrics does not make much sense. This metric also matches the Prometheus take on metric scraping while cluster state metrics generally do not. |
Beta Was this translation helpful? Give feedback.
Hello, and thanks for using RabbitMQ.
rabbitmq_unreachable_cluster_peers_count
was introduced here:If there is an issue that can be reproduced, please provide EXACT steps for doing so.
This might seem easy but anything you can do (like provide the exact commands you ran) would help us focus on the issue rather than wasting time trying to reproduce it. Even better would be a docker compose project demonstrating the issue.
If we find an actual bug, an issue can be filed.