Tracing Architecture

Kyma uses a Jaeger-based tracing component to collect and query traces.

Collection and query may occur at the same time. This way, you can inspect specific traces using the Jaeger UI, while Jaeger takes care of proper trace collection and storage in parallel.

Architecture diagram

Tracing architecture

Flow: Collect traces

The process of collecting traces by Jaeger looks as follows:

  1. The application receives a request, either from an internal or external source.
  2. If the application has Istio injection enabled and HTTP headers are missing, Istio proxy enriches the request with the correct HTTP headers and propagates them to the Application container. Furthermore, Istio proxy sends the trace data for any intercepted request the otel-collector instance served by the Telemetry module, which is configured by default to ship the trace data to Jaeger using the OTLP protocol.
  3. Jaeger stores the trace data on a PersistentVolume and makes the trace information available using an API and UI.

Flow: Query traces

The process of querying traces from Jaeger looks as follows:

  1. A Kyma user accesses the Jaeger UI to look for specific traces.
  2. The user passes the request to the Jaeger Query service and retrieves the trace information. Learn more about accessing Jaeger.
  3. The Jaeger Deployment provides trace information.