[
https://issues.apache.org/jira/browse/GEODE-4658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400779#comment-16400779
]
Kirk Lund commented on GEODE-4658:
----------------------------------
The two requested metrics already exist on the DiskStoreMXBean.
The show metrics command for category "diskstore" should be modified to expose
these two metrics for as many contexts as possible:
* getDiskWritesAvgLatency() provides the average write latency to disk
* getTotalBytesOnDisk() provides the total bytes on disk
I think all of the work is specific to ShowMetricsCommand.java and its tests.
> Expose how much time it takes to write to disk and what is the disk store size
> ------------------------------------------------------------------------------
>
> Key: GEODE-4658
> URL: https://issues.apache.org/jira/browse/GEODE-4658
> Project: Geode
> Issue Type: Improvement
> Components: docs, gfsh
> Reporter: Fred Krone
> Priority: Major
> Labels: starter++
>
> *Given* I have a persistent region with a default disk store
> *When* I write data on the region
> *Then* I can see 2 new metrics {{average write time to disk}} ns time and
> {{size of disk store}} in bytes
> h3. Documentation
> Add this new metric to the docs
>
> This should be a matter of altering the ShowMetricsCommand.java
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)