JVM metrics are Java metrics enabled by default in WSO2 products for the purpose of monitoring general statistics related to the server performance. Follow the procedure below to view the JVM metrics dashboard for a WSO2 product.
For detailed instructions to enable/disable JVM metrics and to configure metrics, see Enabling Metrics and Storage Types.
- Log into the Management Console of the WSO2 product. Click Monitor -> Metrics -> JVM Metrics to open the View Metrics page.
- Specify the source for the JVM metrics by selecting a value from the drop-down list for the Source parameter in the top panel.
- Specify the time interval for which the statistics should be displayed in the dashboard by selecting a value from the following drop-down list in the top panel.
- Click the required buttons opposite Views in the top panel to select the types of information you want to view in the dashboard, and refresh the web page.
Statistics corresponding to each button can be viewed as follows:
Click this button to view statistics relating to the CPU as shown below.
Click Memory to view statistics relating to the memory as shown below.
Click Threading to view statistics relating to threading as shown below.
- Class Loading
Click Class Loading to view statistics relating to class loading as shown below.
- File Descriptor
Click File Descriptor to view information relating to the file descriptor count as shown below.