Skip to main content

Spring Boot Actuator

Added the following dependency in maven's pom.xml file:

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>


Added the following properties in application.properties file:


management.endpoints.web.base-path=/app-management
management.endpoints.web.exposure.include=*
management.health.mail.enabled=false
management.endpoint.health.show-details=always


Added the following URL to the list of PUBLIC_URLs:


private static final String[] PUBLIC_URLS = new String[]{
"/assets/**",
"/app-management/**"
};










Comments