diff --git a/pom.xml b/pom.xml index 49a98e5..a4e6750 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,11 @@ 17 + + io.micrometer + micrometer-registry-prometheus + 1.8.4 + org.springdoc springdoc-openapi-ui diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ff10e09..bfeb640 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -38,3 +38,5 @@ spring.data.mongodb.password=admin spring.data.mongodb.database=microservices springdoc.swagger-ui.path=/swagger-ui.html + +management.endpoints.web.exposure.include=health,prometheus,info \ No newline at end of file