From fb79e5cea1a51183e6745752a83b3a6e83f116a6 Mon Sep 17 00:00:00 2001 From: Sabby Anandan Date: Thu, 15 Apr 2021 09:50:22 -0700 Subject: [PATCH] Disable Wavefront by default --- brake-logs/src/main/resources/application.properties | 1 + .../src/main/resources/application.properties | 1 + scripts/volume-config.yaml | 8 ++++++++ thumbinator/src/main/resources/application.properties | 2 +- trucks/src/main/resources/application.properties | 1 + 5 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 scripts/volume-config.yaml diff --git a/brake-logs/src/main/resources/application.properties b/brake-logs/src/main/resources/application.properties index 19e46b1..be2cfd4 100644 --- a/brake-logs/src/main/resources/application.properties +++ b/brake-logs/src/main/resources/application.properties @@ -1 +1,2 @@ management.endpoints.web.exposure.include=health,info,bindings +management.metrics.export.wavefront.enabled=false diff --git a/brake-temperature/src/main/resources/application.properties b/brake-temperature/src/main/resources/application.properties index 727af4c..955df9c 100644 --- a/brake-temperature/src/main/resources/application.properties +++ b/brake-temperature/src/main/resources/application.properties @@ -1,2 +1,3 @@ spring.cloud.stream.kafka.streams.binder.configuration.commit.interval.ms=1000 management.endpoints.web.exposure.include=health,info,bindings +management.metrics.export.wavefront.enabled=false \ No newline at end of file diff --git a/scripts/volume-config.yaml b/scripts/volume-config.yaml new file mode 100644 index 0000000..0c668ee --- /dev/null +++ b/scripts/volume-config.yaml @@ -0,0 +1,8 @@ +extraVolumeMounts: + - name: wavefront-api + mountPath: /workspace/runtime/secrets/wavefront-api + readOnly: true +extraVolumes: +- name: wavefront-api + secret: + secretName: wavefront-api \ No newline at end of file diff --git a/thumbinator/src/main/resources/application.properties b/thumbinator/src/main/resources/application.properties index 8b13789..8f80496 100644 --- a/thumbinator/src/main/resources/application.properties +++ b/thumbinator/src/main/resources/application.properties @@ -1 +1 @@ - +management.metrics.export.wavefront.enabled=false \ No newline at end of file diff --git a/trucks/src/main/resources/application.properties b/trucks/src/main/resources/application.properties index 19e46b1..be2cfd4 100644 --- a/trucks/src/main/resources/application.properties +++ b/trucks/src/main/resources/application.properties @@ -1 +1,2 @@ management.endpoints.web.exposure.include=health,info,bindings +management.metrics.export.wavefront.enabled=false