GitHub user jiajunwang opened a pull request:
https://github.com/apache/helix/pull/233
[HELIX-726][HELIX-727] Helix monitor metrics improvement
Contains 2 changes that improve Helix monitoring.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiajunwang/helix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/233.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #233
----
commit 505524cf0484df0000e83433862e8f59345899d2
Author: Jiajun Wang <jjwang@...>
Date: 2018-05-26T06:30:11Z
Add new monitor metrics for state transitions.
ClusterStatus: MissingMinActiveReplicaPartitionGauge
ClusterStatus: TotalResourceGauge
ClusterStatus/ResourceStatus: PendingStateTransitionsGauge
ClusterStatus: StateTransitionsCounter
commit 93eea714d2a9607c1808a342957e59698a96f543
Author: Jiajun Wang <jjwang@...>
Date: 2018-05-30T00:09:28Z
Fix resource monitor race condition.
The async monitor processing may cause resource mbean deleting failure.
This will leave unnecessary mbean in the mbean server.
----
---