diff --git a/pom.xml b/pom.xml index 13495b0..2d1db90 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,16 @@ org.springframework.boot spring-boot-starter-actuator - + + + io.micrometer + micrometer-core + + + + io.micrometer + micrometer-registry-prometheus + org.springframework.boot spring-boot-starter-test diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e69de29..9b99b97 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -0,0 +1,4 @@ +management.endpoint.metrics.enabled=true +management.endpoints.web.exposure.include=* +management.endpoint.prometheus.enabled=true +management.metrics.export.prometheus.enabled=true