aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-18 15:12:19 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-18 15:12:19 +0200
commite73d109404113bd6d6f12749559c19adf3b3e5a8 (patch)
treeab03eeaa21f751e6d4c555bedf67e355472b6e64 /src
parent27cbb373d661f5f4446e43cdd71e6996c9c19182 (diff)
Add tracing to babel
- add cloud-sleuth tracing dependency Issue-ID: AAI-3829 Change-Id: I0eee4b79359e0cea679e4a044863c4f4b91e3425 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/application.properties9
-rw-r--r--src/test/resources/application.properties1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 6ea9b37..f1d54df 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -6,3 +6,12 @@ spring.main.allow-bean-definition-overriding=true
server.servlet.context-path=/services/babel-service
logging.config=${CONFIG_HOME}/logback.xml
tosca.mappings.config=${CONFIG_HOME}/tosca-mappings.json
+
+spring.application.name=aai-babel
+spring.sleuth.enabled=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 \ No newline at end of file
diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties
new file mode 100644
index 0000000..2f24f8b
--- /dev/null
+++ b/src/test/resources/application.properties
@@ -0,0 +1 @@
+spring.sleuth.enabled=true \ No newline at end of file