[ 
https://issues.apache.org/jira/browse/GEODE-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16852358#comment-16852358
 ] 

Aaron Lindsey edited comment on GEODE-5222 at 5/30/19 8:59 PM:
---------------------------------------------------------------

In RegionMXBean, there are examples of metrics that return -1 (int) or -1.0 
(float) under scenarios when the value is not applicable. In one such example, 
getPutLocalRate() returns ManagementConstants.NOT_AVAILABLE_FLOAT when the 
region is not a partitioned region . I think we could do the same thing here 
when the operator does not specify directory sizes.


was (Author: aaronlindsey):
In 
[RegionMXBean|[https://geode.apache.org/releases/latest/javadoc/org/apache/geode/management/RegionMXBean.html]],
 there are examples of metrics that return -1 (int) or -1.0 (float) under 
scenarios when the value is not applicable. In one such example, 
getPutLocalRate() returns ManagementConstants.NOT_AVAILABLE_FLOAT when the 
region is not a partitioned region . I think we could do the same thing here 
when the operator does not specify directory sizes.

> 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: 1h 50m
>  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)

Reply via email to