Zipkin

    This task uses the Bookinfo sample as the example application.

    To learn how Istio handles tracing, visit this task’s .

    1. To set up Istio, follow the instructions in the Installation guide and then configure:

      a) a demo/test environment by setting the and --set values.tracing.provider=zipkin install options to enable tracing “out of the box”

      b) a production environment by referencing an existing Zipkin instance and then setting the --set values.global.tracer.zipkin.address=<zipkin-collector-service>.<zipkin-collector-namespace>:9411 install option.

      When you enable tracing, you can set the sampling rate that Istio uses for tracing. Use the pilot.traceSampling option to set the sampling rate. The default sampling rate is 1%.

    2. Deploy the sample application.

    Remotely Accessing Telemetry Addons details how to configure access to the Istio addons through a gateway. Alternatively, to use a Kubernetes ingress, specify the option during install.

    For testing (and temporary access), you may also use port-forwarding. Use the following, assuming you’ve deployed Zipkin to the istio-system namespace:

    1. From the top panel, select a service of interest (or ‘all’) from the Service Name drop-down list and click Find Traces:

      Tracing Dashboard

    2. Click on the most recent trace at the top to see the details corresponding to the latest request to the :

      Detailed Trace View

      Detailed Trace View

    3. The trace is comprised of a set of spans, where each span corresponds to a Bookinfo service, invoked during the execution of a /productpage request, or internal Istio component, for example: istio-ingressgateway.

    1. If you are not planning to explore any follow-on tasks, refer to the instructions to shutdown the application.

    Jaeger

    This task shows you how to configure external access to the set of Istio telemetry addons.

    Configurability (Beta/Development)

    How to configure tracing options (beta/development).

    How to configure the proxies to send tracing requests to Lightstep.

    Overview

    Overview of distributed tracing in Istio.

    Improving availability and reducing latency.