Re: API (Recommanded way) to get heap and disk usage for cluster nodes

2020-07-21 Thread Barrett Oglesby
Steve, Here are some ways to access these statistics using JMX. To access JVM metrics for a member including heap usage using JMX, invoke the MemberMXBean showJVMMetrics operation. These values are gotten from ManagementFactory.getMemoryMXBean(), ManagementFactory.getThreadMXBean() and

Re: API (Recommanded way) to get heap and disk usage for cluster nodes

2020-07-08 Thread steve mathew
Thanks Jacob and Anthony for sharing the details. I have tried to understand list_of_mbeans supported but finding it tough to understand completely. I can see "DiskStoreMXBean" and document says it can provide region(s) specific disk usage. For my experiment, looking for *mbeans that provide

Re: API (Recommanded way) to get heap and disk usage for cluster nodes

2020-07-08 Thread Anthony Baker
Another option is JMX, see https://geode.apache.org/docs/guide/19/managing/management/list_of_mbeans.html. Anthony On Jul 8, 2020, at 9:24 AM, Jacob Barrett mailto:jabarr...@vmware.com>> wrote: Steve, Geode is in a transition from its on disk proprietary stats format to utilizing

Re: API (Recommanded way) to get heap and disk usage for cluster nodes

2020-07-08 Thread Jacob Barrett
Steve, Geode is in a transition from its on disk proprietary stats format to utilizing Micrometer.io. Some of what you are looking for may already be exposed via Micrometer. If so you can just use whatever registry of your choice to publish those stats. If the metric you

API (Recommanded way) to get heap and disk usage for cluster nodes

2020-07-07 Thread steve mathew
Hello Geode Dev and users We have a requirement to constantly monitor the resource utilization (Disk and Heap usage) for the cluster nodes from external processes. Seeking help to understand the recommended way (or APIs available ) to get this in a separate process...We need to trigger some