1. 애플리케이션 복제
git clone https://github.com/callicoder/spring-boot-actuator-demo.git
2. Maven을 사용하여 앱 빌드 및 실행
mvn package
java -jar target/actuator-demo-0.0.1-SNAPSHOT.jar
또는 다음과 같이 패키징하지 않고 앱을 직접 실행할 수 있습니다.
mvn spring-boot:run
앱은 http://localhost:8080에서 실행되기 시작합니다.
모든 액추에이터 끝점은 http://localhost:8080/actuator에서 사용할 수 있습니다.
일부 액츄에이터 엔드포인트는 Spring Security의 HTTP 기본 인증으로 보호됩니다. http 기본 인증을 위해 사용자 이름 actuator
와 비밀번호 actuator
사용할 수 있습니다.