Skip to content

Commit 17ca0d6

Browse files
committed
setup zipkin for eventing too
Signed-off-by: Bora M. Alper <[email protected]>
1 parent 8bf6c99 commit 17ca0d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/setup_zipkin.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@ kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.9/sampl
2828

2929
sleep 10s
3030

31-
# enable tracing in Knative
31+
# enable tracing in Knative Serving
3232
kubectl patch configmap/config-tracing \
3333
-n knative-serving \
3434
--type merge \
3535
-p '{"data":{"backend":"zipkin","zipkin-endpoint":"http://zipkin.istio-system.svc.cluster.local:9411/api/v2/spans","debug":"true"}}'
36+
37+
# enable tracing in Knative Eventing
38+
kubectl patch configmap/config-tracing \
39+
-n knative-eventing \
40+
--type merge \
41+
-p '{"data":{"backend":"zipkin","zipkin-endpoint":"http://zipkin.istio-system.svc.cluster.local:9411/api/v2/spans","debug":"true"}}'

0 commit comments

Comments
 (0)