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:

  • Memory
  • Operating system
  • Class loading
  • Compilation
  • Threading
  • CPU Utilization
  • Deployment version
  • Storage
  • Saml
  • 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’

(Example: http://hostname:port/debug?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. 

Memory

This section provides JVM memory-related information. It contains heap memory usage, non-heap memory usage, object pending finalization count, verbose.

Operating System

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.

Class loading

This section indicates class loading information such as total loaded class count, verbose.

Compilation

This section tells us compilation information such as the name of the compilers, total compilation time, compilation time monitoring supported.

Threading

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.

Memory Pool

This section contains Memory pool information like usage of meta space, eden space, old generation and survivor space.

Storage

This section provides storage information . It contains storage type, endpoint URL and region.

SAML

This section contains saml related information, which facilitates SSO. 

System Properties

This section contains application system properties that are configured to the application.