Debug/Diagnostic information about the application and JVM instance is published in the health check status page. In the health check status page, the following information is printed in the JSON format:
- Operating system
- Class loading
- CPU Utilization
- Deployment version
- System properties
How to access the health check status page?
From the browser, invoke the URL ‘http://hostname:port/debug’ (Example: http://localhost:8080/debug).
You will see the css enabled pretty format JSON response printed on the browser which contains the JVM diagnostic information.
Health Check – JSON format
If you would like to see the response in the raw JSON format then invoke the URL with the parameter ‘accept=json’
Fig: debug URL printing JSON diagnostic information
What information is present in the health check status page?
The health check status page contains rich set debug/diagnostic information about the application and the JVM instance in which it is running.
This section provides JVM memory-related information. It contains heap memory usage, non-heap memory usage, object pending finalization count, verbose.
This section tells us operating system-related information. It contains the name of the operating system, process CPU load, process CPU time, available processors, arch, committed virtual memory size, free physical memory size, free swap space size, system CPU load, system load average, total physical memory size, total swap space size, version.
This section indicates class loading information such as total loaded class count, verbose.
This section tells us compilation information such as the name of the compilers, total compilation time, compilation time monitoring supported.
This section contains threading information like thread count, daemon thread count, current thread user time, current thread CPU time, current thread CPU time supported, object monitor usage supported, peak thread count, synchronizer usage supported, thread allocated memory enabled, thread allocated memory supported, thread contention monitoring enabled, thread contention monitoring supported, thread CPU time enabled, thread CPU time supported.
This section contains Memory pool information like usage of meta space, eden space, old generation and survivor space.
This section provides storage information . It contains storage type, endpoint URL and region.
This section contains saml related information, which facilitates SSO.
This section contains application system properties that are configured to the application.
Leave a Reply