[
https://issues.apache.org/jira/browse/GEODE-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851935#comment-16851935
]
Alberto Bustamante Reyes commented on GEODE-5222:
-------------------------------------------------
I think it would be more convenient to generate this statistic only if
directory sizes are specified. If not, the statistic would be useful only in
the case that the directory has its own dedicated disk partition (which is a
requirement that can be documented, but cannot be "forced" by code). If I dont
specify a max size and there are other data in the volume where the directory
islocated, if I want to monitor a disk store and I see that its using 90% of
capacity, I would not be able to know if that means the partition is getting
big, or if I have to delete other data from the disk to leave space for the
region.
For me, it sounds fine if we state that the disk usage percentage will be
calculated only if all directories are defined with a max size. And in case one
ore more directories have unlimited storage, the statistic value will be -1 (I
prefer to use -1 instead of 0, as 0 is a possible value of the percentage and
it could be confusing). If you agree, I will modify the PR accordingly.
> JMX metric exposed in an MBean
> ------------------------------
>
> Key: GEODE-5222
> URL: https://issues.apache.org/jira/browse/GEODE-5222
> Project: Geode
> Issue Type: Improvement
> Components: docs, persistence
> Reporter: Nick Vallely
> Assignee: Alberto Bustamante Reyes
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Given I need to scale down or scale up my servers based on usage
> When I setup my monitoring of JMX metrics through an MBean
> Then I have the ability to see Disk Free Percentage
> AND Disk Free in Bytes
> AND Disk Used Percentage
> AND Disk Used in Bytes
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)