1. 스프링 부팅 관리자 정의
Spring Boot Admin은 Spring Boot의 액추에이터 인터페이스를 아름답게하는 인터페이스입니다. 기본 정보, 자세한 건강 정보, JVM 정보, 가비지 수집 정보, 모니터링 된 스프링 부팅 프로젝트의 다양한 구성 정보 (데이터 소스, 캐시, 적중률 등)를 쉽게 탐색 할 수 있습니다.
2 시스템 구성
서버 측 구성
1. Gradle에 종속성을 소개합니다
컴파일 ( 'de.codecentric : Spring-Boot-Admin-Server : 1.5.6') 컴파일 ( 'de.codecentric : Spring-Boot-Admin-Server-UI : 1.5.6')
2. 속성을 구성합니다
Server.port = 8082
입력 기능에 추가 해야하는 주석
@configuration @enableautoconfiguration @enableadminserverVublic class adminserverapplication {public static void main (string [] args) {springApplication.run (AdminserVerapplication.class, args); }} 클라이언트 제작
1. Gradle이 소개 해야하는 종속성
컴파일 ( 'org.springframework.boot : spring-boot-starter-actuator') compile ( 'de.codecentric : spring-boot-admin-starter-client : 1.5.6')
2. Application.yml에 필요한 구성
관리 : 보안 : 활성화 : Falsespring : Boot : Admin : URL : http : // localhost : 8082
주요 기능 쓰기
@SpringBootApplication public class shirspringbootApplication {public static void main (String [] args) {springApplication.run (shirspringbootApplication.class, args); }}위는이 기사의 모든 내용입니다. 모든 사람의 학습에 도움이되기를 바랍니다. 모든 사람이 wulin.com을 더 지원하기를 바랍니다.