feature: add prometheus monitoring

This commit is contained in:
Alexander
2022-04-14 15:04:44 +03:00
parent a87fde57fe
commit 501b5a9cec
2 changed files with 7 additions and 0 deletions

View File

@@ -17,6 +17,11 @@
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<version>1.8.4</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>

View File

@@ -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