From 457a3ea3ca2c26ecd43ea806355b3d03335931d4 Mon Sep 17 00:00:00 2001 From: Sabby Anandan Date: Fri, 14 Aug 2020 15:31:18 -0700 Subject: [PATCH] Add extra other dependencies to satisfy micrometer instrumentation: --- brake-logs/pom.xml | 10 ++++++++++ brake-logs/src/main/resources/application.properties | 2 +- brake-temperature/pom.xml | 10 ++++++++++ .../src/main/resources/application.properties | 1 + trucks/pom.xml | 10 ++++++++++ trucks/src/main/resources/application.properties | 2 +- 6 files changed, 33 insertions(+), 2 deletions(-) diff --git a/brake-logs/pom.xml b/brake-logs/pom.xml index df5bdf2..12f1fbb 100644 --- a/brake-logs/pom.xml +++ b/brake-logs/pom.xml @@ -43,6 +43,16 @@ stream-applications-micrometer-common 3.0.0-M2 + + org.springframework.cloud.stream.app + stream-applications-security-common + 3.0.0-M2 + + + org.springframework.cloud.stream.app + stream-applications-postprocessor-common + 3.0.0-M2 + io.micrometer micrometer-registry-prometheus diff --git a/brake-logs/src/main/resources/application.properties b/brake-logs/src/main/resources/application.properties index 8b13789..19e46b1 100644 --- a/brake-logs/src/main/resources/application.properties +++ b/brake-logs/src/main/resources/application.properties @@ -1 +1 @@ - +management.endpoints.web.exposure.include=health,info,bindings diff --git a/brake-temperature/pom.xml b/brake-temperature/pom.xml index dc115cd..2c773f1 100644 --- a/brake-temperature/pom.xml +++ b/brake-temperature/pom.xml @@ -43,6 +43,16 @@ stream-applications-micrometer-common 3.0.0-M2 + + org.springframework.cloud.stream.app + stream-applications-security-common + 3.0.0-M2 + + + org.springframework.cloud.stream.app + stream-applications-postprocessor-common + 3.0.0-M2 + io.micrometer micrometer-registry-prometheus diff --git a/brake-temperature/src/main/resources/application.properties b/brake-temperature/src/main/resources/application.properties index 597aeae..727af4c 100644 --- a/brake-temperature/src/main/resources/application.properties +++ b/brake-temperature/src/main/resources/application.properties @@ -1 +1,2 @@ spring.cloud.stream.kafka.streams.binder.configuration.commit.interval.ms=1000 +management.endpoints.web.exposure.include=health,info,bindings diff --git a/trucks/pom.xml b/trucks/pom.xml index 59d037f..7914685 100644 --- a/trucks/pom.xml +++ b/trucks/pom.xml @@ -47,6 +47,16 @@ stream-applications-micrometer-common 3.0.0-M2 + + org.springframework.cloud.stream.app + stream-applications-security-common + 3.0.0-M2 + + + org.springframework.cloud.stream.app + stream-applications-postprocessor-common + 3.0.0-M2 + io.micrometer micrometer-registry-prometheus diff --git a/trucks/src/main/resources/application.properties b/trucks/src/main/resources/application.properties index 8b13789..19e46b1 100644 --- a/trucks/src/main/resources/application.properties +++ b/trucks/src/main/resources/application.properties @@ -1 +1 @@ - +management.endpoints.web.exposure.include=health,info,bindings