[jira] [Commented] (GEODE-5222) JMX metric exposed in an MBean

2019-06-13 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on GEODE-5222:


Commit a806801cd639294a2593673a10e0487965c9dd23 in geode's branch 
refs/heads/develop from Alberto Bustamante Reyes
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a806801 ]

GEODE-5222: DiskStore usage percentage in JMX (#3631)

* Remove explicit dir size in tests when default has to be used
* Calculate percentage with two decimals


> 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: 3h 20m
>  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)


[jira] [Commented] (GEODE-5222) JMX metric exposed in an MBean

2019-05-31 Thread Alberto Bustamante Reyes (JIRA)


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

Alberto Bustamante Reyes commented on GEODE-5222:
-

Looks fine for me, Im going to prepare the changes.

> 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)


[jira] [Commented] (GEODE-5222) JMX metric exposed in an MBean

2019-05-30 Thread Aaron Lindsey (JIRA)


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

Aaron Lindsey commented on GEODE-5222:
--

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)


[jira] [Commented] (GEODE-5222) JMX metric exposed in an MBean

2019-05-29 Thread Nick Vallely (JIRA)


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

Nick Vallely commented on GEODE-5222:
-

I would think we need to be consistent with other statistics that don't have a 
value (as they are either specified or could be null/zero to begin with) if 
there are any like for like cases.  Otherwise, my first inclination would be to 
utilize the OS level disk (volumeFreeSpace but this may not be OS level) 
available as the value of the 'total' when one is not specified by the user.

> 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 10m
>  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)


[jira] [Commented] (GEODE-5222) JMX metric exposed in an MBean

2019-05-29 Thread Aaron Lindsey (JIRA)


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

Aaron Lindsey commented on GEODE-5222:
--

The operator has the ability to not specify a directory size when creating a 
disk store. In this case, the system will assume unlimited storage. What should 
these metrics show for disk free and disk free/used percentage when the 
directory size is not specified?

> 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 10m
>  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)


[jira] [Commented] (GEODE-5222) JMX metric exposed in an MBean

2019-05-21 Thread Alberto Bustamante Reyes (JIRA)


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

Alberto Bustamante Reyes commented on GEODE-5222:
-

Im interested on the publication of disk stores usage percentage via JMX. If I 
want to create a pull request for that, is it ok to use this ticket? Or should 
I create another one with just that issue, and set Geode 5222 as related ticket?

> 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
>
> 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)