Chapter 5. Configuring tracing in Connectivity Link
You can enable tracing in OpenShift Service Mesh and the Connectivity Link components of Authorino and Limitador by directing traces to a central collector for improved observability and troubleshooting.
You must perform these steps on each OpenShift cluster that you want to use Connectivity Link on.
Prerequisites
- You have configured Grafana dashboards as described in Chapter 4, Configuring observability dashboards and alerts.
- You have a trace collector such as Tempo or Jaeger installed and configured to support OpenTelemetry. For more details, see the OpenShift Service Mesh tracing documentation.
Procedure
Enable tracing in OpenShift Service Mesh by configuring your
Telemetry
custom resource as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Configure a tracing
extensionProvider
in OpenShift Service Mesh in yourIstio
custom resource as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow ImportantYou must set the OpenTelemetry collector protocol in the service port
name
orappProtocol
fields as described in the OpenShift Service Mesh documentation. For example, when using gRPC, the port name should begin withgrpc-
or theappProtocol
should begrpc
.Enable request tracing in your
Authorino
custom resource and send authentication and authorization traces to the central collector as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable request tracing in your
Limitador
custom resource and send rate limit traces to the central collector as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteEnsure that the tracing collector is the same one that OpenShift Service Mesh is sending traces to so that they can all be correlated later.
When the changes are applied, the Authorino and Limitador components are redeployed with tracing enabled.
ImportantTrace IDs do not propagate to Wasm modules in OpenShift Service Mesh currently. This means that requests passed to Limitador do not have the relevant parent trace ID. However, if the trace initiation point is outside Service Mesh, the parent trace ID is available to Limitador and included in traces. This impacts on correlating traces from Limitador with traces from Authorino, the Gateway, and any other components in the request path.
Additional resources
- For more details, see the OpenShift Service Mesh Observability documentation.