Skip to content

Commit

Permalink
Activate Prometheus Actuator Endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dnl50 committed Jun 11, 2022
1 parent a02fd5d commit 5cd21ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ dependencies {
integrationTestImplementation(libs.bouncycastle.bcpkix)
integrationTestImplementation("com.fasterxml.jackson.core:jackson-databind")

runtimeOnly("org.springframework.boot:spring-boot-actuator-autoconfigure")
runtimeOnly("org.springframework.boot:spring-boot-starter-actuator")
runtimeOnly("io.micrometer:micrometer-registry-prometheus")

developmentOnly("org.springframework.boot:spring-boot-devtools:${libs.versions.spring.boot.get()}")
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ management:
include:
- health
- info
- prometheus

0 comments on commit 5cd21ef

Please sign in to comment.