Skip to content

Commit

Permalink
feat: Spring Actuator 도입
Browse files Browse the repository at this point in the history
  • Loading branch information
suw0n committed Oct 7, 2024
1 parent 9abeca3 commit 302ed62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dodam-application/dodam-rest-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ dependencies {

implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-validation'

implementation 'org.springframework:spring-tx:6.0.6'

runtimeOnly 'io.micrometer:micrometer-registry-prometheus'

runtimeOnly 'com.mysql:mysql-connector-j'
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spring:
ddl-auto: none
properties:
hibernate:
show_sql: true
show_sql: false
format_sql: true
data:
redis.repositories.enabled: false
Expand Down Expand Up @@ -88,6 +88,14 @@ cloud:
endpoint: ${S3_ENDPOINT}
bucket: ${S3_BUCKET}

management:
server:
port: 8090
endpoints:
web:
exposure:
include: prometheus

logging:
level:
com:
Expand Down

0 comments on commit 302ed62

Please sign in to comment.