Skip to content
Snippets Groups Projects
Commit d91c21de authored by Gaelle.Barris's avatar Gaelle.Barris
Browse files

add micrometer prometheus

parent f94f86dd
Branches
Tags v0.2.0
No related merge requests found
......@@ -11,10 +11,10 @@
</parent>
<groupId>fr.gouv.siig.descartes</groupId>
<artifactId>services</artifactId>
<version>0.1.0</version>
<version>0.2.0</version>
<packaging>war</packaging>
<name>Descartes - Module D-WsMap</name>
<description>Services web de Descartes</description>
<name>Descartes - Services</name>
<description>Ensemble des Services Web de Descartes - Module D-WsMap</description>
<developers>
<developer>
<id>gaelle.barris</id>
......@@ -85,6 +85,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<!-- <scope>runtime</scope> -->
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
......
......@@ -6,8 +6,8 @@ server.forward-headers-strategy=native
management.server.port=${env.management.server.port}
management.endpoints.web.base-path=/manage
management.endpoints.web.cors.allowed-origins=*
management.endpoints.web.exposure.include=health,info,metrics
management.endpoints.jmx.exposure.include=health,info,metrics
management.endpoints.web.exposure.include=health,info,metrics,prometheus
management.endpoints.jmx.exposure.include=health,info,metrics,prometheus
management.trace.http.enabled=false
management.info.env.enabled=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment