aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2024-01-11 21:09:02 +0100
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2024-01-11 21:09:02 +0100
commit71bc5d3d23f36acd27c995dfccf01918c17c71a8 (patch)
tree0fe2fac1de1a12b5fce7d2eea244c0350acd13d6
parentb79671556abd980c1fe0d48dcb96ef8437173b7a (diff)
[CDS] BP Request tracing
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
-rwxr-xr-xkubernetes/cds/components/cds-blueprints-processor/resources/config/application.properties11
-rwxr-xr-xkubernetes/cds/components/cds-blueprints-processor/values.yaml8
2 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/cds/components/cds-blueprints-processor/resources/config/application.properties b/kubernetes/cds/components/cds-blueprints-processor/resources/config/application.properties
index 7351b1f193..b99bae7197 100755
--- a/kubernetes/cds/components/cds-blueprints-processor/resources/config/application.properties
+++ b/kubernetes/cds/components/cds-blueprints-processor/resources/config/application.properties
@@ -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 }}
diff --git a/kubernetes/cds/components/cds-blueprints-processor/values.yaml b/kubernetes/cds/components/cds-blueprints-processor/values.yaml
index a082c2c8ca..3244748176 100755
--- a/kubernetes/cds/components/cds-blueprints-processor/values.yaml
+++ b/kubernetes/cds/components/cds-blueprints-processor/values.yaml
@@ -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