Skip to content

Commit 97c2830

Browse files
authored
Enable Prometheus in every microservice (#90)
Signed-off-by: BOUHOURS Antoine <[email protected]>
1 parent e1a4532 commit 97c2830

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

pom.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@
141141
<groupId>org.springdoc</groupId>
142142
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
143143
</dependency>
144+
<dependency>
145+
<groupId>org.springframework.boot</groupId>
146+
<artifactId>spring-boot-starter-actuator</artifactId>
147+
</dependency>
148+
149+
<!-- Runtime dependencies -->
144150
<dependency>
145151
<groupId>com.powsybl</groupId>
146152
<artifactId>powsybl-config-classic</artifactId>
@@ -171,10 +177,6 @@
171177
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
172178
<scope>runtime</scope>
173179
</dependency>
174-
<dependency>
175-
<groupId>org.springframework.boot</groupId>
176-
<artifactId>spring-boot-starter-actuator</artifactId>
177-
</dependency>
178180

179181
<!-- Test dependencies -->
180182
<dependency>

src/main/resources/application-local.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,3 @@ gridsuite:
1818
services:
1919
report-server:
2020
base-uri: http://localhost:5028
21-
22-
management:
23-
metrics:
24-
distribution:
25-
percentiles-histogram:
26-
http.server.requests: true
27-
endpoints:
28-
web:
29-
exposure:
30-
include: prometheus, health, info

0 commit comments

Comments
 (0)