From 63ba92f5ce079c7071dc779f87c4308081983f75 Mon Sep 17 00:00:00 2001 From: Damir Murat Date: Thu, 28 Dec 2023 20:23:09 +0100 Subject: [PATCH] Remove unnecessary exclusion of Spring Boot's OtlpAutoConfiguration Reference: https://github.com/spring-projects/spring-boot/issues/35596 --- .../src/main/resources/application.properties | 2 -- .../src/main/resources/application.properties | 2 -- .../src/main/resources/application.properties | 2 -- 3 files changed, 6 deletions(-) diff --git a/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-commandside/src/main/resources/application.properties b/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-commandside/src/main/resources/application.properties index f5279cae5..526fcba77 100644 --- a/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-commandside/src/main/resources/application.properties +++ b/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-commandside/src/main/resources/application.properties @@ -40,8 +40,6 @@ axon.metrics.micrometer.dimensional = true management.metrics.tags.app = ${spring.application.name} #### Tracing management.tracing.enabled = true -##### TODO dmurat: remove after upgrading to Spring Boot 3.2.x (https://github.com/spring-projects/spring-boot/issues/35596#issuecomment-1588652785) -spring.autoconfigure.exclude = org.springframework.boot.actuate.autoconfigure.tracing.otlp.OtlpAutoConfiguration ##### For production use, set sampling.probability to 0.1 management.tracing.sampling.probability = 1.0 ##### For production use, set to false diff --git a/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-projection-rdbms/src/main/resources/application.properties b/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-projection-rdbms/src/main/resources/application.properties index d48c06131..cb57acf67 100644 --- a/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-projection-rdbms/src/main/resources/application.properties +++ b/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-projection-rdbms/src/main/resources/application.properties @@ -40,8 +40,6 @@ axon.metrics.micrometer.dimensional = true management.metrics.tags.app = ${spring.application.name} #### Tracing management.tracing.enabled = true -##### TODO dmurat: remove after upgrading to Spring Boot 3.2.x (https://github.com/spring-projects/spring-boot/issues/35596#issuecomment-1588652785) -spring.autoconfigure.exclude = org.springframework.boot.actuate.autoconfigure.tracing.otlp.OtlpAutoConfiguration ##### For production use, set sampling.probability to 0.1 management.tracing.sampling.probability = 1.0 ##### configure datasource-proxy micrometer to export only queries diff --git a/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-view/src/main/resources/application.properties b/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-view/src/main/resources/application.properties index 0e160cf16..401dc1265 100644 --- a/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-view/src/main/resources/application.properties +++ b/modules/bc/cargotracking/asd/booking/app/cargotracking-booking-app-queryside-view/src/main/resources/application.properties @@ -40,8 +40,6 @@ axon.metrics.micrometer.dimensional = true management.metrics.tags.app = ${spring.application.name} #### Tracing management.tracing.enabled = true -##### TODO dmurat: remove after upgrading to Spring Boot 3.2.x (https://github.com/spring-projects/spring-boot/issues/35596#issuecomment-1588652785) -spring.autoconfigure.exclude = org.springframework.boot.actuate.autoconfigure.tracing.otlp.OtlpAutoConfiguration ##### For production use, set sampling.probability to 0.1 management.tracing.sampling.probability = 1.0 ##### For production use, set to false