Spring Boot Actuator provides a wealth of built-in metrics that can provide invaluable insights into the behavior and performance of your application. These metrics can be accessed through the /metrics endpoint. Below, we discuss some of the most common and useful metrics that are provided out of the box:
jvm.memory.used: This metric provides information about the amount of memory currently used by the JVM.
jvm.memory.committed: This metric gives you the amount of memory that is guaranteed to be available for use by the JVM.
jvm.memory.max: This metric shows the maximum amount of memory that the JVM will attempt to use.