Accessing request traces

Depending on the request tracing tool that you have installed on your Knative Serving cluster, see the corresponding section for details about how to visualize and trace your requests.

If you have not yet installed the logging and monitoring components, go through the installation instructions to set up the necessary components.

Zipkin

In order to access request traces, you use the Zipkin visualization tool.

  1. To open the Zipkin UI, enter the following command:

    kubectl proxy

    This command starts a local proxy of Zipkin on port 8001. For security reasons, the Zipkin UI is exposed only within the cluster.

    1. Navigate to the Zipkin UI.

    2. Click “Find Traces” to see the latest traces. You can search for a trace ID or look at traces of a specific application. Click on a trace to see a detailed view of a specific call.

    Jaeger

    In order to access request traces, you use the Jaeger visualization tool.

    1. To open the Jaeger UI, enter the following command:
    kubectl proxy

    This command starts a local proxy of Jaeger on port 8001. For security reasons, the Jaeger UI is exposed only within the cluster.

  2. Navigate to the Jaeger UI.

  3. Select the service of interest and click “Find Traces” to see the latest traces. Click on a trace to see a detailed view of a specific call.