[
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16440755#comment-16440755
]
ASF GitHub Bot commented on IGNITE-8078:
----------------------------------------
GitHub user DmitriyGovorukhin opened a pull request:
https://github.com/apache/ignite/pull/3845
IGNITE-8078 New metrics for data store
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-8078-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3845.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3845
----
commit 1814fbb5f62629ee3e5f4c9f4d44e39a1a38e871
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T08:32:56Z
IGNITE-8078 wal metrics added
commit 4835a59bf5c04232753e90ed61e95ca358f7528d
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T08:35:14Z
IGNITE-8078 FsyncWal fix rollover metrics
commit 9af5217822d30d4d430ef9a20d51893c27a58959
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T08:35:55Z
IGNITE-8078 remove reset wal metrics
commit b8ec647bfe28fdef584e8303bc243b98fcf11afa
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T09:11:41Z
IGNITE-8078 added pageRead pageWritten and pageReplaced metrics
commit da446efdfe867d06491864de142b96e0cba90312
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T10:00:11Z
IGNITE-8078 added offheapSize and offHeapUsedSize
commit 75634fd1cf7cf54b4cc38cf556b9494c1ae049eb
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T10:03:09Z
IGNITE-8078 added new method on IgniteMXBean. getCurrentCoordinator
commit ab31657f7863e682f7b5b47c6279a9d589c77498
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T10:08:05Z
IGNITE-8078 add methods to CacheGroupMetrics interface, implement
partitionIndexes and group type
commit ea82b8bd888d978fe20789a5edfff97167a00ce2
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-17T10:29:29Z
IGNITE-8078 fix compilation error
----
> 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();
> /** 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}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)