Skip to content

Commit

Permalink
Add spring actuator :3
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaFox161 committed Sep 30, 2023
1 parent 4ee495c commit e3c32f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ allprojects {
implementation("org.springframework.boot:spring-boot-starter-data-redis")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("org.springframework.boot:spring-boot-starter-actuator")

// Database
implementation("dev.miku:r2dbc-mysql:$mikuR2dbcMySqlVersion")
Expand All @@ -98,6 +99,7 @@ allprojects {
// Observability
implementation("ch.qos.logback.contrib:logback-json-classic:$logbackContribVersion")
implementation("ch.qos.logback.contrib:logback-jackson:$logbackContribVersion")
implementation("io.micrometer:micrometer-registry-prometheus")

// Google libs
implementation("com.google.api-client:google-api-client:$googleApiClientVersion")
Expand Down
2 changes: 2 additions & 0 deletions core/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<!-- Logs we care about -->
<logger name="org.dreamexposure.discal" level="DEBUG"/>
<logger name="org.springframework.web" level="INFO"/>
<logger name="org.springframework.http.codec" level="WARN"/>
<logger name="org.springframework.core.codec" level="WARN"/>
<logger name="io.netty" level="INFO"/>
<logger name="reactor" level="INFO"/>
<logger name="proxy" level="INFO"/>
Expand Down

0 comments on commit e3c32f3

Please sign in to comment.