[스프링 부트] chapter 43. 스프링 Actuator 3부 Spring-Boot-Admin

스프링 Actuator 3부 Spring-Boot-Admin

https://github.com/codecentric/spring-boot-admin

스프링 부트 Actuator UI 제공

어드민 서버 설정

<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>spring-boot-admin-starter-server</artifactId>
    <version>2.0.1</version>
</dependency>

SpringBootApplication에 @EnableAdminServer추가

클라이언트 설정

<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>spring-boot-admin-starter-client</artifactId>
    <version>2.0.1</version>
</dependency>

application.properties에 추가

spring.boot.admin.client.url=http://localhost:8080
management.endpoints.web.exposure.include=*