[CDS] BP Request tracing 76/136976/1
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Thu, 11 Jan 2024 20:09:02 +0000 (21:09 +0100)
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Thu, 11 Jan 2024 20:09:02 +0000 (21:09 +0100)
Configuration of request tracing in CDS BP helm chart

Issue-ID: CCSDK-3980
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: If9728b5d319ed83e5c157bdeffd05d1b453affa7

kubernetes/cds/components/cds-blueprints-processor/resources/config/application.properties
kubernetes/cds/components/cds-blueprints-processor/values.yaml

index 7351b1f..b99bae7 100755 (executable)
@@ -195,3 +195,14 @@ blueprintprocessor.k8s.plugin.url=http://multicloud-k8s:9015/
 
 #Workflow audit store configuration
 blueprintsprocessor.workflow.self-service-api.audit.storeEnable={{ .Values.workflow.storeEnabled }}
+
+#Tracing
+spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }}
+spring.zipkin.checkTimeout=5000
+spring.zipkin.service.name={{ include "common.name" . }}
+spring.sleuth.messaging.jms.enabled=false
+spring.sleuth.trace-id128=true
+spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }}
+spring.sleuth.propagation.type=w3c, b3
+spring.sleuth.supports-join=false
+spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
index a082c2c..3244748 100755 (executable)
@@ -231,3 +231,11 @@ serviceAccount:
 # workflow store flag
 workflow:
   storeEnabled: false
+
+tracing:
+  collector:
+    baseUrl: http://jaeger-collector.istio-system:9411
+  sampling:
+    probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
+  ignorePatterns:
+    - .*/execution-service/health-check