From 6c6d7d0f9ba9fbaa677cd7e9a9c4a19244a61c19 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Thu, 19 Oct 2023 14:03:59 +0200 Subject: Add spring-cloud-sleuth for tracing - add tracing dependency - configure both b3 and w3c trace propagation formats to have interoperability between spring-boot 2 (sleuth) and spring-boot 3 (micrometer) tracing Issue-ID: AAI-3668 Change-Id: I429247444715186be562d009f0d6a6f6ede7e1c3 Signed-off-by: Fiete Ostkamp --- aai-resources/src/main/resources/application.properties | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'aai-resources/src') diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties index 66a8e53..adf899a 100644 --- a/aai-resources/src/main/resources/application.properties +++ b/aai-resources/src/main/resources/application.properties @@ -4,9 +4,15 @@ info.build.name=resources info.build.description=Resources Microservice info.build.version=1.1.0 -spring.application.name=Resources Microservice +spring.application.name=aai-resources spring.jersey.type=filter spring.main.allow-bean-definition-overriding=true +spring.zipkin.baseUrl=http://jaeger-collector.istio-system:9411 +spring.sleuth.messaging.jms.enabled = false +spring.sleuth.trace-id128=true +spring.sleuth.sampler.probability=1.0 +spring.sleuth.propagation.type=w3c, b3 +spring.sleuth.supports-join=false server.servlet.context-path=/ spring.autoconfigure.exclude=\ -- cgit 1.2.3-korg