summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
authordcorbacho <dparracorbacho@piotal.io>2019-10-10 11:51:44 +0100
committerdcorbacho <dparracorbacho@piotal.io>2019-10-17 11:43:28 +0100
commitc37f81ef351c65e056e8c14a95e209a55dc75ed2 (patch)
tree0cb22d611328e8255bbeb6565837414fbf63245b /src/rabbit.erl
parent57ff7b30929e094de17a72b000e18f7e6cf00baa (diff)
downloadrabbitmq-server-git-c37f81ef351c65e056e8c14a95e209a55dc75ed2.tar.gz
Update core metrics with down state
As the processes responsible to update `queue_metrics` are the queues themselves, if they crash nothing else updates their metric state to down. Thus, showing as running in the UI. This change uses the existing gc process to check the state of the local queues and update it if required, while it is doing the normal gc scanning. It covers all types of queues. We consider a queue as down if the process/master/leader does no answer to requests or it is dead. There could be other situations where a queue is functionally down, but that is not covered here. [#163218289]
Diffstat (limited to 'src/rabbit.erl')
0 files changed, 0 insertions, 0 deletions