mirror of https://github.com/istio/istio.io.git
Adds a Jaeger UI detail for distributed tracing (#1761)
This commit is contained in:
parent
adeb5d61ea
commit
1da97fa9c4
|
@ -19,27 +19,28 @@ example application for this task.
|
||||||
|
|
||||||
* Setup Istio by following the instructions in the [Installation guide](/docs/setup/).
|
* Setup Istio by following the instructions in the [Installation guide](/docs/setup/).
|
||||||
|
|
||||||
Either use the `istio.yaml` (or `istio-demo-auth.yaml`) template, which includes tracing support, or
|
Either use the `istio-demo.yaml` or `istio-demo-auth.yaml` template, which includes tracing support, or
|
||||||
use the helm chart with tracing enabled using the `--set tracing.enabled=true` option.
|
use the helm chart with tracing enabled by setting the `--set tracing.enabled=true` option.
|
||||||
|
|
||||||
* Deploy the [Bookinfo](/docs/examples/bookinfo/) sample application.
|
* Deploy the [Bookinfo](/docs/examples/bookinfo/) sample application.
|
||||||
|
|
||||||
## Accessing the dashboard
|
## Accessing the dashboard
|
||||||
|
|
||||||
Setup access to the tracing dashboard URL using port-forwarding:
|
Setup access to the Jaeger dashboard by using port-forwarding:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=jaeger -o jsonpath='{.items[0].metadata.name}') 16686:16686 &
|
$ kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=jaeger -o jsonpath='{.items[0].metadata.name}') 16686:16686 &
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
Then open your browser at [http://localhost:16686](http://localhost:16686)
|
Access the Jaeger dashboard by opening your browser to [http://localhost:16686](http://localhost:16686).
|
||||||
|
|
||||||
## Generating traces using the Bookinfo sample
|
## Generating traces using the Bookinfo sample
|
||||||
|
|
||||||
With the Bookinfo application up and running, generate trace information by accessing
|
With the Bookinfo application up and running, generate trace information by accessing
|
||||||
`http://$GATEWAY_URL/productpage` one or more times.
|
`http://$GATEWAY_URL/productpage` one or more times.
|
||||||
|
|
||||||
If you now look at the dashboard, you should see something similar to the following:
|
From the left-hand pane of the Jaeger dashboard, select productpage from the Service drop-down list and click
|
||||||
|
Find Traces. You should see something similar to the following:
|
||||||
|
|
||||||
{{< image width="100%" ratio="42.35%"
|
{{< image width="100%" ratio="42.35%"
|
||||||
link="./istio-tracing-list.png"
|
link="./istio-tracing-list.png"
|
||||||
|
|
Loading…
Reference in New Issue