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
* Update tracing documentary for OTel
* mark blog post deprecated
* fix heading types
* use jaeger collector as the address
* suggest some backends first
Copy file name to clipboardExpand all lines: docs/eventing/observability/accessing-traces.md
+37-30Lines changed: 37 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,25 @@ function: how-to
8
8
9
9
# Accessing CloudEvent traces
10
10
11
-
Depending on the request tracing tool that you have installed on your Knative
12
-
Eventing cluster, see the corresponding section for details about how to
13
-
visualize and trace your requests.
11
+
Traces give us the big picture of how events traverse through the system and applications.
12
+
Knative Eventing is instrumented with [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/) which can emit traces to a multitude of different backends.
14
13
15
-
## Before you begin
14
+
## Backends
16
15
17
-
You must have a Knative cluster running with the Eventing component installed. [Learn more](../install/README.md).
16
+
### Jaeger V2
18
17
19
-
## Configuring tracing
18
+
Following [these instructions](https://github.com/jaegertracing/jaeger-operator?tab=readme-ov-file#jaeger-v2-operator) to setup Jaeger V2 on Kubernetes and access your traces.
19
+
20
+
## Configuring Eventing Tracing
21
+
22
+
You can update the configuration for tracing in using the [`config-observability` ConfigMap](https://github.com/knative/eventing/blob/main/config/core/configmaps/observability.yaml).
20
23
21
24
With the exception of importers, the Knative Eventing tracing is configured through the
22
-
`config-tracing` ConfigMap in the `knative-eventing` namespace.
25
+
`config-observability` ConfigMap in the `knative-eventing` namespace.
23
26
24
27
Most importers do _not_ use the ConfigMap and instead, use a static 1% sampling rate.
25
28
26
-
You can use the `config-tracing` ConfigMap to configure the following Eventing components:
29
+
You can use the `config-observability` ConfigMap to configure the following Eventing components:
27
30
28
31
- Brokers
29
32
- Triggers
@@ -36,59 +39,61 @@ You can use the `config-tracing` ConfigMap to configure the following Eventing c
36
39
37
40
**Example:**
38
41
39
-
The following example `config-tracing` ConfigMap samples 10% of all CloudEvents:
42
+
The following example `config-observability` ConfigMap samples 10% of all CloudEvents:
To access the traces, you use either the Zipkin or Jaeger tool. Details about using these tools to access traces are provided in the Knative Serving observability section:
86
+
<!--
87
+
TODO - Renable and redo the images when the following test is enabled again
Traces give us the big picture of what happens when a request is made to an application.
11
+
Knative Serving is instrumented with [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/) which can emit traces to a multitude of different backends.
12
+
13
+
## Backends
14
+
15
+
### Jaeger V2
16
+
17
+
Following [these instructions](https://github.com/jaegertracing/jaeger-operator?tab=readme-ov-file#jaeger-v2-operator) to setup Jaeger V2 on Kubernetes and access your traces.
18
+
19
+
## Configuring Serving Tracing
20
+
21
+
You can update the configuration for tracing in using the [`config-observability` ConfigMap](https://github.com/knative/serving/blob/main/config/core/configmaps/observability.yaml).
22
+
23
+
**Example:**
24
+
25
+
The following example `config-observability` ConfigMap samples 10% of all requests:
0 commit comments