[ https://issues.apache.org/jira/browse/IGNITE-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968887#comment-15968887 ]
Ivan Rakov commented on IGNITE-4861: ------------------------------------ The following metrics added to CacheMetrics: {code} /** * @return Total number of partitions on current node. */ public int getTotalPartitionsCount(); /** * @return Number of currently rebalancing partitions on current node. */ public int getRebalancingPartitionsCount(); /** * @return Estimated number of keys to be rebalanced on current node. */ public long getKeysToRebalanceLeft(); /** * @return Estimated rebalancing speed in keys. */ public long getRebalancingKeysRate(); /** * @return Estimated rebalancing speed in bytes. */ public long getRebalancingBytesRate(); {code} Default timeframe for rate metrics is 1 minute, can be overriden with IgniteSystemProperties#IGNITE_REBALANCE_STATISTICS_TIME_INTERVAL. > Export rebalance metrics and state as MBeans > -------------------------------------------- > > Key: IGNITE-4861 > URL: https://issues.apache.org/jira/browse/IGNITE-4861 > Project: Ignite > Issue Type: Improvement > Components: cache > Reporter: Alexey Goncharuk > Assignee: Ivan Rakov > Fix For: 2.0 > > > It would be nice to have rebalance metrics on an MBean: > 1) Number of partitions to be rebalanced > 2) Estimated number of keys to be rebalanced > 3) Average rebalancing rate > Any other metrics that might be useful -- This message was sent by Atlassian JIRA (v6.3.15#6346)