Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ dependencies {
// Jackson
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")

// Prometheus
implementation("io.micrometer:micrometer-registry-prometheus")

testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
Expand Down
11 changes: 11 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,14 @@ sentry:
traces-sample-rate: 1.0
send-default-pii: true
enabled: true

management:
endpoints:
web:
exposure:
include: "health,prometheus"
server:
port: 9000
metrics:
tags:
application: ${spring.application.name}