ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Rakov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-4861) Export rebalance metrics and state as MBeans
Date Fri, 14 Apr 2017 10:42:41 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968887#comment-15968887
] 

Ivan Rakov edited comment on IGNITE-4861 at 4/14/17 10:41 AM:
--------------------------------------------------------------

The following metrics have been 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.


was (Author: ivan.glukos):
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)

Mime
View raw message