Skip to content

Commit

Permalink
feat: spring actuator 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Mar 5, 2024
1 parent 183e2ea commit da1a041
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ dependencies {
implementation 'net.nurigo:sdk:4.3.0'
implementation 'org.flywaydb:flyway-core'
implementation 'org.flywaydb:flyway-mysql'

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

tasks.named('test') {
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ phone:
key: testesttstset
secret: testtestesttestteststestsetstets
sender: 01012345678

management:
endpoints:
web:
exposure:
include: prometheus

0 comments on commit da1a041

Please sign in to comment.