Skip to content

Commit

Permalink
Enable Prometheus in every microservice
Browse files Browse the repository at this point in the history
Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
  • Loading branch information
antoinebhs committed May 13, 2024
1 parent 6fc818a commit 8825c39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<!-- elasticsearch -->
<dependency>
Expand Down Expand Up @@ -167,10 +171,6 @@
<artifactId>powsybl-triple-store-impl-rdf4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
Expand Down
7 changes: 0 additions & 7 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,3 @@ gridsuite:
base-uri: http://localhost:8087
report-server:
base-uri: http://localhost:5028

management:
endpoints:
web:
exposure:
include: prometheus, health, info

0 comments on commit 8825c39

Please sign in to comment.