Skip to content

Commit b7e5ecc

Browse files
authored
Enable Prometheus in every microservice (#74)
Signed-off-by: BOUHOURS Antoine <[email protected]>
1 parent 720c544 commit b7e5ecc

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@
103103
<scope>provided</scope>
104104
</dependency>
105105
<dependency>
106-
<groupId>io.micrometer</groupId>
107-
<artifactId>micrometer-registry-prometheus</artifactId>
106+
<groupId>org.springframework.boot</groupId>
107+
<artifactId>spring-boot-starter-actuator</artifactId>
108108
</dependency>
109109

110110
<!-- Runtime dependencies -->
111111
<dependency>
112-
<groupId>org.springframework.boot</groupId>
113-
<artifactId>spring-boot-starter-actuator</artifactId>
112+
<groupId>io.micrometer</groupId>
113+
<artifactId>micrometer-registry-prometheus</artifactId>
114114
<scope>runtime</scope>
115115
</dependency>
116116
<dependency>

src/main/resources/application-local.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,3 @@ server:
44
spring:
55
rabbitmq:
66
addresses: localhost
7-
8-
management:
9-
endpoints:
10-
web:
11-
exposure:
12-
include: prometheus, health, info

0 commit comments

Comments
 (0)