Skip to content

Commit 83afbb5

Browse files
authored
Merge pull request #70 from next-engineer/feature/add-actuator-health-endpoint
✨ feat: 애플리케이션 모니터링을 위한 Spring Boot Actuator 추가
2 parents 52d639a + 4a0811a commit 83afbb5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dependencies {
4949
implementation 'org.springframework.boot:spring-boot-starter-security'
5050
implementation 'org.springframework.boot:spring-boot-starter-validation'
5151
implementation 'org.springframework.boot:spring-boot-starter-web'
52+
implementation 'org.springframework.boot:spring-boot-starter-actuator'
5253
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0'
5354
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
5455
implementation("software.amazon.awssdk:cognitoidentityprovider:2.25.61")

src/main/resources/application.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ spring:
2525
jwt:
2626
issuer-uri: ${COGNITO_ISSUER_URI:https://cognito-idp.ap-northeast-2.amazonaws.com/ap-northeast-2_xI18xw5er}
2727

28+
# Spring Boot Actuator 설정
29+
management:
30+
endpoints:
31+
web:
32+
exposure:
33+
include: health,info
34+
base-path: /actuator
35+
endpoint:
36+
health:
37+
show-details: when-authorized
38+
show-components: always
39+
2840
# 공통 앱 설정 (기본값 포함)
2941
app:
3042
cognito:

0 commit comments

Comments
 (0)