diff options
author | 2025-03-27 16:30:54 +0100 | |
---|---|---|
committer | 2025-03-28 08:29:49 +0100 | |
commit | 6be5e05159a6e1b64efcb0bc662a240d749d4fa6 (patch) | |
tree | c865a6fdd3d14d853b4bab3ebdbc423aee6b3887 /kubernetes/aai/components/aai-traversal/resources | |
parent | 0c20c1cb3e23462fd762b27668f097b05f775434 (diff) |
Make tracing configurable via globals
- define settings for jaeger url, enabling/disabling and sampling probability in globals
- have tracing disabled by default
Issue-ID: AAI-4152
Change-Id: I061ac681fc4dcb079a326d0c58dd5160255955c4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-traversal/resources')
-rw-r--r-- | kubernetes/aai/components/aai-traversal/resources/config/application.properties | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kubernetes/aai/components/aai-traversal/resources/config/application.properties b/kubernetes/aai/components/aai-traversal/resources/config/application.properties index f6fad88c19..027c9cd215 100644 --- a/kubernetes/aai/components/aai-traversal/resources/config/application.properties +++ b/kubernetes/aai/components/aai-traversal/resources/config/application.properties @@ -32,11 +32,10 @@ spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSou spring.profiles.active={{ .Values.global.config.profiles.active }} spring.jersey.application-path=/ -spring.sleuth.enabled={{ .Values.tracing.enabled }} -spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }} -spring.sleuth.messaging.jms.enabled = false +spring.sleuth.enabled={{ .Values.global.tracing.enabled }} +spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }} spring.sleuth.trace-id128=true -spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }} +spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }} spring.sleuth.propagation.type=w3c, b3 spring.sleuth.supports-join=false spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }} |