From 87abd7dbf329bb75e56a76f6adf553718ad3d81d Mon Sep 17 00:00:00 2001 From: BOUHOURS Antoine Date: Mon, 13 May 2024 11:41:43 +0200 Subject: [PATCH 1/2] Enable Prometheus in every microservice Signed-off-by: BOUHOURS Antoine --- pom.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 895a29f..c17dc3d 100644 --- a/pom.xml +++ b/pom.xml @@ -130,6 +130,10 @@ org.springdoc springdoc-openapi-starter-webmvc-ui + + org.springframework.boot + spring-boot-starter-actuator + @@ -138,8 +142,8 @@ runtime - org.springframework.boot - spring-boot-starter-actuator + io.micrometer + micrometer-registry-prometheus runtime From 97e4a97f611a70b447b504f8f45fc6709ec28320 Mon Sep 17 00:00:00 2001 From: BOUHOURS Antoine Date: Wed, 22 May 2024 14:39:13 +0200 Subject: [PATCH 2/2] Review suggestions Signed-off-by: BOUHOURS Antoine --- pom.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index c17dc3d..577335e 100644 --- a/pom.xml +++ b/pom.xml @@ -130,10 +130,6 @@ org.springdoc springdoc-openapi-starter-webmvc-ui - - org.springframework.boot - spring-boot-starter-actuator - @@ -141,6 +137,11 @@ powsybl-config-classic runtime + + org.springframework.boot + spring-boot-starter-actuator + runtime + io.micrometer micrometer-registry-prometheus