Skip to content

Commit

Permalink
Merge pull request #702 from woowacourse-teams/chore/#695
Browse files Browse the repository at this point in the history
모니터링 대시보드를 구축하기 위한 설정 추가
  • Loading branch information
Mingyum-Kim authored Oct 22, 2024
2 parents e2a4ae0 + 5f44ef5 commit 86d4669
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ dependencies {

// S3
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.773'

// monitoring
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.micrometer:micrometer-registry-prometheus'
}

tasks.named('test') {
Expand Down
9 changes: 9 additions & 0 deletions backend/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ aws:
bucket: techcourse-project-2024
key-prefix: mouda/dev/asset/profile/
prefix: https://dev.mouda.site/profile/

management:
endpoints:
web:
exposure:
include: prometheus
endpoint:
health:
show-details: always
9 changes: 9 additions & 0 deletions backend/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,12 @@ aws:

url:
base: http://localhost:8081

management:
endpoints:
web:
exposure:
include: prometheus
endpoint:
health:
show-details: always
9 changes: 9 additions & 0 deletions backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ aws:
bucket: techcourse-project-2024
key-prefix: mouda/dev/asset/profile/
prefix: https://dev.mouda.site/profile/

management:
endpoints:
web:
exposure:
include: prometheus
endpoint:
health:
show-details: always

0 comments on commit 86d4669

Please sign in to comment.