JVM Metrics
The JVM monitoring page displays JVM (Java Virtual Machine) metrics data collected by the OpenTelemetry Java Agent. Metrics include GC (Garbage Collection), heap memory, non-heap memory, JVM threads, Java classes, etc. You can use the real-time monitoring data presented in the monitoring charts for performance analysis, quickly identifying memory leaks, thread anomalies, and other issues.
To meet different monitoring metrics analysis scenarios, the following features are also supported:
- When there are multiple Pods for a service, you can compare the monitoring data of two Pods side by side.
- Flexibly filter the monitoring metrics to be displayed.
TOC
Prerequisites
The service has been injected with a Java Agent, please refer to Adding Services for implementation.
Steps
-
In the left navigation bar, click Monitoring.
-
Select the service and time range for which you want to view monitoring data.
Note: The query time range is limited by the retention period of Prometheus monitoring data. For example, if monitoring data is retained for up to 7 days and the set time range is for the last 30 days, the statistical data will cover only 7 days.
-
Click the JVM Monitoring tab to view the JVM monitoring data for the service Pod.
Tip: When there are multiple Pods for a service, click to check Monitoring Data Comparison to analyze and compare the monitoring data of 2 Pods.
The monitoring charts display the trend statistics of JVM monitoring metrics for the specified service Pod within the query time range. Statistical data includes maximum, allocated, and used memory for various classes; CPU usage; GC counts and duration; active thread count; number of loaded/unloaded classes, etc.
JVM Monitoring Chart Explanation
The monitoring charts display the trend statistics of JVM monitoring metrics for the specified service Pod within the query time range. The explanation of monitoring metrics is provided in the table below.
Tip: During data viewing, you can refer to Regular Operations to refresh monitoring data, hide data corresponding to the legend, or view the monitoring chart in large.