Spring Actuator
Introduction
Implementation
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>// When accessing actuator end point, need to enter following
// username and pw
management.security.enabled=true
management.security.roles=ADMIN
security.basic.enabled=true
security.user.name=admin
security.user.passowrd=admin
// or
management.security.enabled=false
// Reveal all the api end points
management.endpoints.web.exposure.include: "*"
management.endpoint.health.show-details: alwaysSpring Boot Admin
Introduction
Implementation
Result
Last updated

