[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-18 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastRollOverTime();
}
{code}


  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastRollOverTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPages();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart. */
> long getPagesReplaced()

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalRollOverTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPages();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead(

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastRollOverTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalRollOverTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPages();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRea

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastRollOverTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastRollOverTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPages();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** Th

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPages();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in byte

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** Total size in bytes. */
long getTotalSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. 

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** Total size in bytes. */
long getTotalSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** Total size in bytes. */
long getTotalSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** Total size in bytes. */
> long getTotalSize();
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead(

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-17 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** Total size in bytes. */
long getTotalSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPages();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:


1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** Total size in bytes. */
long getTotalSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes. */
long getTotalSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();


> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** Total size in bytes. */
> long getTotalSize();
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total size in bytes. */
> long getTotalSize();
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-16 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 


1. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** Total size in bytes. */
long getTotalSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes. */
long getTotalSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for reuse list.*/
long getReuseListSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total size in bytes for data pages.*/
long getDataPagesSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total size in bytes for data pages.*/
long getDataPagesSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebal

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-02 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for reuse list.*/
long getReuseListSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total size in bytes for pure data.*/
long getDataPagesSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for reuse list.*/
long getReuseListSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** To

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-02 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for reuse list.*/
long getReuseListSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total size in bytes for data pages.*/
long getDataPagesSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total size in bytes for data pages.*/
long getDataPagesSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for reuse list.*/
long getReuseListSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total size in bytes for pure data.*/
long getDataPagesSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size 

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-02 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for reuse list.*/
long getReuseListSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUse

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-04-02 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Fix Version/s: 2.5

> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Assignee: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
> Fix For: 2.5
>
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long getProcessedPuts();
> /** The number of GET operations on the index. */
> long getProcessedGets();
> /** The total index size in bytes. */
> long getIndexSize();
> /** Index name.*/
> String getName();
> }
> {code}
> 2. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** The total index size in bytes */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexesSize();
> /** Total size in bytes. */
> long getTotalSize();
> /** Total size in bytes for pure data.*/
> long getDataSize();
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> /** Partitions currently assigned to the local node in this cache group. */
> int[] getPartitions();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total size in bytes for indexes. */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexesSize();
> /** Total size in bytes. */
> long getTotalSize();
> /** Total size in bytes for pure data.*/
> long getDataSize();
> /** Total used offheap size in bytes. */
> long getOffheapUsedSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart . */
> long getPagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPagesForNextCheckpoint();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total size in bytes for indexes. */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexesSize();
> /** Total size in bytes for all storages. */
> long getTotalSize();
> /** Total offheap size in bytes. */
> long getOffHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long getOffheapUsedSize();
> /** Total size in bytes for pure data.*/
> long getDataSize();
> /** The number of read pages from last restart. */
> long getPagesRead();
> /** The number of writen pages from last restart. */
> long getPagesWriten();
> /** The number of replaced pages from last restart. */
> long getPagesReplaced();
> /** Total checkpoint time from last restart. */
> long getCheckpointTotalTime();
> /** Total dirty pages for the next checkpoint. */
> long getDirtyPagesForNextCheckpoint();
> /** Total size in bytes for storage wal files. */
> long getWalTotalSize();
> /** Time of the last WAL segment rollover. */
> long getWalLastSwitchTime();
> }
> {code}
> {code}
> class IgniteMxBean {
> /** Returns string containing Node ID, Consistent ID, Node Order */
> String getCurrentCoordinator();
> }
> {code}
> Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
> CacheGroupMetricsMXBean.getRebalancingPartitionsCount();



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-30 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

Depricate CacheMetrics.getRebalancingPartitionsCount(); and move to 
CacheGroupMetricsMXBean.getRebalancingPartitionsCount();

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize(

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-30 Thread Alexey Goncharuk (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Goncharuk updated IGNITE-8078:
-
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long getProcessedPuts();
/** The number of GET operations on the index. */
long getProcessedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] getPartitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long getOffheapUsedSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart . */
long getPagesReplaced();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalSize();
/** Total offheap size in bytes. */
long getOffHeapSize();
/** Total used offheap size in bytes for all data regions. */
long getOffheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long getPagesRead();
/** The number of writen pages from last restart. */
long getPagesWriten();
/** The number of replaced pages from last restart. */
long getPagesReplaced();
/** Total checkpoint time from last restart. */
long getCheckpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long getDirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long getWalTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] partitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number o

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-30 Thread Alexey Goncharuk (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Goncharuk updated IGNITE-8078:
-
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] partitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}

{code}
class IgniteMxBean {
/** Returns string containing Node ID, Consistent ID, Node Order */
String getCurrentCoordinator();
}
{code}

  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] partitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long page

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-30 Thread Alexey Goncharuk (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Goncharuk updated IGNITE-8078:
-
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] partitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
/** Time of the last WAL segment rollover. */
long getWalLastSwitchTime();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] partitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. *

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-30 Thread Alexey Goncharuk (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Goncharuk updated IGNITE-8078:
-
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
/** Partitions currently assigned to the local node in this cache group. */
int[] partitions();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}



> Add new metrics for data storage
> -

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-30 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. */
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issue

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Alexey Goncharuk (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Goncharuk updated IGNITE-8078:
-
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITION, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apach

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITION, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITION, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexTotalSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: htt

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITION, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexTotalSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes in the region. */
long getIndexTotalSize();
/** Total size in bytes for primary key indexes in the region. */
long getPKIndexTotalSize();
/** Total size in bytes for all storages in the region. */
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes for all data regions. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long processedPuts();

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes in the region. */
long getIndexTotalSize();
/** Total size in bytes for primary key indexes in the region. */
long getPKIndexTotalSize();
/** Total size in bytes for all storages in the region. */
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexTotalSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes for all data regions. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long offHeapSize();
long offheapUsedSize();
long getDataSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long checkpointTotalTime();
long dirtyPagesForNextCheckpoint();
long walTotalSize();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long processedPuts();
> /** The number of GET operations on the index. */
> long processedGets();
> /** The total index size in bytes. */
> long getIndexSize();
> /** Index name.*/
> String getName();
> }
> {code}
> 2. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** The total index size in bytes */
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getDataSize();
> String getType();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total size in bytes for indexes in the region. */
> long getIndexTotalSize();
> /** Total size in bytes for primary key indexes in the region. */
> long getPKIndexTotalSize();
> /** Total size in bytes for all storages in the region. */
> long getTotalsize();
> long getdataSize();
> long offheapUsedSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long dirtyPagesForNextCheckpoint();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total size in bytes for indexes. */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexTotalSize();
> /** Total size in bytes for all storages. */

[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long offHeapSize();
long offheapUsedSize();
long getDataSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long checkpointTotalTime();
long dirtyPagesForNextCheckpoint();
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long offHeapSize();
long offheapUsedSize();
long getDataSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long checkpointTotalTime();
long dirtyPagesForNextCheckpoint();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long processedPuts();
> /** The number of GET operations on the index. */
> long processedGets();
> /** The total index size in bytes. */
> long getIndexSize();
> /** Index name.*/
> String getName();
> }
> {code}
> 2. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** The total index size in bytes */
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getDataSize();
> String getType();
> }
> {code}
> {code}
> class DataRegionMXBean{
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getdataSize();
> long offheapUsedSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long dirtyPagesForNextCheckpoint();
> }
> {code}
> {code}
> class DataStorageMXbean{
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long offHeapSize();
> long offheapUsedSize();
> long getDataSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long checkpointTotalTime();
> long dirtyPagesForNextCheckpoint();
> long walTotalSize();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long offHeapSize();
long offheapUsedSize();
long getDataSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long checkpointTotalTime();
long dirtyPagesForNextCheckpoint();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getDataSize();
String getType();
}
{code}

{code}
class DataRegionMXBean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long getdataSize();
long offheapUsedSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
long getIndexTotalSize();
long getPKIndexTotalSize();
long getTotalsize();
long offHeapSize();
long offheapUsedSize();
long getDataSize();
long pagesRead();
long pagesWriten();
long pagesReplaced();
long checkpointTotalTime();
long dirtyPagesForNextCheckpoint();
}
{code}



> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long processedPuts();
> /** The number of GET operations on the index. */
> long processedGets();
> /** The total index size in bytes. */
> long getIndexSize();
> /** Index name.*/
> String getName();
> }
> {code}
> 2. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** The total index size in bytes */
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getDataSize();
> String getType();
> }
> {code}
> {code}
> class DataRegionMXBean{
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getdataSize();
> long offheapUsedSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long dirtyPagesForNextCheckpoint();
> }
> {code}
> {code}
> class DataStorageMXbean{
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long offHeapSize();
> long offheapUsedSize();
> long getDataSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long checkpointTotalTime();
> long dirtyPagesForNextCheckpoint();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-8078) Add new metrics for data storage

2018-03-29 Thread Dmitriy Govorukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin updated IGNITE-8078:
---
Labels: iep-6  (was: )

> Add new metrics for data storage
> 
>
> Key: IGNITE-8078
> URL: https://issues.apache.org/jira/browse/IGNITE-8078
> Project: Ignite
>  Issue Type: New Feature
>Reporter: Dmitriy Govorukhin
>Priority: Major
>  Labels: iep-6
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long processedPuts();
> /** The number of GET operations on the index. */
> long processedGets();
> /** The total index size in bytes. */
> long getIndexSize();
> }
> {code}
> 2. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** The total index size in bytes */
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getDataSize();
> String getType();
> }
> {code}
> {code}
> class DataRegionMXBean{
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long getdataSize();
> long offheapUsedSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long dirtyPagesForNextCheckpoint();
> }
> {code}
> {code}
> class DataStorageMXbean{
> long getIndexTotalSize();
> long getPKIndexTotalSize();
> long getTotalsize();
> long offHeapSize();
> long offheapUsedSize();
> long getDataSize();
> long pagesRead();
> long pagesWriten();
> long pagesReplaced();
> long checkpointTotalTime();
> long dirtyPagesForNextCheckpoint();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)