You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You have access to an {product-title} account with cluster or dedicated administrator access.
19
19
endif::[]
20
20
21
-
* You have installed the {ServerlessOperatorName}and Knative Serving.
21
+
* You have installed the {ServerlessOperatorName}, Knative Serving, and Knative Eventing.
22
22
* You have installed the {JaegerName} Operator.
23
23
* You have installed the OpenShift CLI (`oc`).
24
24
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
@@ -39,7 +39,7 @@ metadata:
39
39
40
40
. Enable tracing for Knative Serving, by editing the `KnativeServing` CR and adding a YAML configuration for tracing:
41
41
+
42
-
.Tracing YAML example
42
+
.Tracing YAML example for Serving
43
43
[source,yaml]
44
44
----
45
45
apiVersion: operator.knative.dev/v1alpha1
@@ -61,6 +61,30 @@ spec:
61
61
<3> The `zipkin-endpoint` must point to your `jaeger-collector` service endpoint. To get this endpoint, substitute the namespace where the Jaeger CR is applied.
62
62
<4> Debugging should be set to `false`. Enabling debug mode by setting `debug: "true"` allows all spans to be sent to the server, bypassing sampling.
63
63
64
+
. Enable tracing for Knative Eventing by editing the `KnativeEventing` CR:
<1> The `sample-rate` defines sampling probability. Using `sample-rate: "0.1"` means that 1 in 10 traces are sampled.
84
+
<2> Set `backend` to `zipkin`.
85
+
<3> Point the `zipkin-endpoint` to your `jaeger-collector` service endpoint. To get this endpoint, substitute the namespace where the Jaeger CR is applied.
86
+
<4> Debugging should be set to `false`. Enabling debug mode by setting `debug: "true"` allows all spans to be sent to the server, bypassing sampling.
87
+
64
88
.Verification
65
89
66
90
You can access the Jaeger web console to see tracing data, by using the `jaeger` route.
Copy file name to clipboardExpand all lines: modules/serverless-open-telemetry.adoc
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
.Prerequisites
12
12
13
13
* You have access to an {product-title} account with cluster administrator access.
14
-
* You have not yet installed the {ServerlessOperatorName}and Knative Serving. These must be installed after the {DTProductName} installation.
14
+
* You have not yet installed the {ServerlessOperatorName}, Knative Serving, and Knative Eventing. These must be installed after the {DTProductName} installation.
15
15
* You have installed {DTProductName} by following the {product-title} "Installing distributed tracing" documentation.
16
16
* You have installed the OpenShift CLI (`oc`).
17
17
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
0 commit comments