diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-10-19 14:03:59 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-10-19 15:19:18 +0200 |
commit | 6c6d7d0f9ba9fbaa677cd7e9a9c4a19244a61c19 (patch) | |
tree | 8a44f082afcede03db2ff03da71ca9356990c922 /aai-resources/src | |
parent | be4c967659e73814dc14d9c144b8ad4156af4aca (diff) |
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 <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources/src')
-rw-r--r-- | aai-resources/src/main/resources/application.properties | 8 |
1 files changed, 7 insertions, 1 deletions
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=\ |