We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d4941 commit e5b8d84Copy full SHA for e5b8d84
build.gradle.kts
@@ -34,6 +34,7 @@ dependencies {
34
implementation("org.springframework.boot:spring-boot-starter-actuator")
35
implementation("org.flywaydb:flyway-core")
36
implementation("org.postgresql:postgresql")
37
+ implementation("io.micrometer:micrometer-registry-prometheus")
38
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
39
implementation("net.logstash.logback:logstash-logback-encoder:$logstashLogbackEncoderVersion")
40
src/main/resources/application.yaml
@@ -25,5 +25,7 @@ management:
25
health:
26
livenessstate.enabled: true
27
readinessState.enabled: true
28
+ prometheus:
29
+ metrics.export.enabled: true
30
31
logging.config: "classpath:logback.xml"
0 commit comments