[Updated] How to show custom info using Spring Boot Actuator

Spring Boot Actuator offers a useful capability to show the details about an application. For example, the health endpoint provides basic application health information. Similarly, you can show any custom information through the info endpoint. For example, you can put the following configuration to provide the application version and the Java version used by it. management:…