[
https://issues.apache.org/jira/browse/IGNITE-8078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430885#comment-16430885
]
ASF GitHub Bot commented on IGNITE-8078:
----------------------------------------
GitHub user DmitriyGovorukhin opened a pull request:
https://github.com/apache/ignite/pull/3782
IGNITE-8078
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-8078
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3782.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 #3782
----
commit 6a4693b84c783ec2a87d399f92bddb82c36aae13
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T07:26:28Z
IGNITE-8078 added new method on IgniteMXBean. getCurrentCoordinator
commit e199fe2e700514bb9b6a0474257e8152b60bf527
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T12:24:04Z
IGNITE-8078 rename refactoring
commit 93a01affab20f7736cc3eadd8e6360786ad52d1e
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T12:25:46Z
IGNITE-8078 rename refactoring
commit 6922e1c4dc78667523f421e339f37fd162d128a0
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T14:09:23Z
IGNITE-8078 WIP refactoring
commit 43f97954737fef14c09f66b23c60f48d4f114eac
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T16:22:57Z
IGNITE-8078 PkIndex tracker
commit aaba63fa971a685703129b72f4a45a33a2ac8276
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T16:38:31Z
IGNITE-8078 ReuseList tracker
commit e99a1353c0aae3e464751ee8dc557441794c52c2
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-02T17:52:26Z
IGNITE-8078 Pure data tracker
commit 0af44ea316edc27ec713fe43e8b5e8ea7e2646cf
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T07:33:56Z
IGNITE-8078 add methods to CacheGroupMetrics interface, implement
partitionIndexes and group type
commit 02740ac701bd5b5140a7066b91fd10a56c327ee3
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T07:35:46Z
IGNITE-8078 minor refactoring
commit 8280405e6e714c738c26817d7df7c8cc60a0ae6b
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T08:11:11Z
IGNITE-8078 data structure total size count
commit dece316c8c5fcd99e8bb5eb322694d715e4b79d3
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T08:23:52Z
IGNITE-8078 secondary indexes size
commit d7ef793b780e2e0c0cd197754bf1e3f34404f81e
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T09:51:36Z
IGNITE-8078 total allocated size
commit 352019f75488011f17529f3b61f2576a9538f491
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T13:26:56Z
IGNITE-8078 index size + refactoring and improvements
commit fd3d2dcc49f978afc3e09a54bc80b4ba9edcb7a5
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T13:55:02Z
IGNITE-8078 refactoring
commit 252453e5782479b6e7808f6c609e4d62271c4006
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-03T13:56:25Z
IGNITE-8078 code cleanup
commit 20251dde60c80069193642f335d0e10b797383a8
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-04T10:29:20Z
IGNITE-8078 wip
commit 736ded6a2330592ecf8961656e1f3761c453ec02
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-04T12:52:03Z
IGNITE-8078 wip
commit 6cce1440dd47cb46762a8608793b01342a655689
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-04T15:01:44Z
IGNITE-8078 wip
commit d311f8a3053424d9d8b3f0801d9110ad0dd76280
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-04T15:10:37Z
IGNITE-8078 minor fix
commit 17b97210cf69e0abac4c0c9f9d0dd1dd25680ca9
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-04T15:36:24Z
IGNITE-8078 minor
commit 4be410803a1a006afe9a7119a7a94e64147f5b94
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-05T09:26:57Z
IGNITE-8078 ccfg size count in internal metric
commit 4982a026e03b4630b06d48151f3d0f838c5bb6c9
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-05T12:31:22Z
IGNITE-8078 refactoring
commit 8baba8caccde7a6136d1cb20c766c4fba0ef62ff
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-05T12:59:36Z
IGNITE-8078 minor refactoring
commit 122676edfdafffbda5ed602e542ced4c88a78438
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-05T14:45:26Z
IGNITE-8078 minor refactoring
commit 1849ed23e68f67867ce55d3317390437636a03e2
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-05T14:48:15Z
IGNITE-8078 minor refactoring
commit 232913a6a2922022e3846e5c0f504546f5b33dc8
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-05T15:41:09Z
IGNITE-8078 wip
commit 86cb54c899c942d9cbb4c3a44f8d978f2a80f3ac
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-06T09:45:35Z
IGNITE-8078 wip test
commit b602acb24b27bd839fc5bbce96caebdf2fa949ab
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-06T15:15:38Z
IGNITE-8078 refactoring
commit 49dcf24ecb58954a8ec808029adbc40d9f4c2aa1
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-06T17:10:26Z
IGNITE-8078 refactoring
commit 1dba243ab66962611f75e9113520a6259b2fccd3
Author: Dmitriy Govorukhin <dmitriy.govorukhin@...>
Date: 2018-04-08T18:49:23Z
IGNITE-8078 page size
----
> 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 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();
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)