Istio Observability
Istio Observability Setup
Istio integrates with several different telemetry applications. These can help you gain an understanding of the structure of your service mesh, display the topology of the mesh, and analyze the health of your mesh.
Use the following instructions to deploy the Kiali dashboard, along with Prometheus, Grafana, and Jaeger.
Install Kiali and the other addons and wait for them to be deployed.
kubectl apply -f samples/addonskubectl rollout status deployment/kiali -n istio-systemEnsure everything is running fine , Go to LENS software and check it.
Kiali Dashboard Access
istioctl dashboard kialiView your Kiali Dashboard in your Browser.
In the left navigation menu, select Graph and in the Namespace drop down, select default.
Use
ctrl+cto break out.
Prometheus Dashboard Access
Verify that the prometheus service is running in your cluster.
kubectl -n istio-system get svc prometheusOpen the Prometheus UI, execute the following command:
istioctl dashboard prometheusClick Graph to the right of Prometheus in the header.
Execute a Prometheus query.
In the “Expression” input box at the top of the web page, enter the text:
istio_requests_totalThen, click the Execute button.

You can also see the query results graphically by selecting the Graph tab underneath the Execute button.

Other queries to try:
Total count of all requests to the
productpageservice:istio_requests_total{destination_service="productpage.default.svc.cluster.local"}Total count of all requests to
v3of thereviewsservice:istio_requests_total{destination_service="reviews.default.svc.cluster.local", destination_version="v3"}This query returns the current total count of all requests to the v3 of the
reviewsservice.Rate of requests over the past 5 minutes to all instances of the
productpageservice:rate(istio_requests_total{destination_service=~"productpage.*", response_code="200"}[5m])
Use
ctrl+cto break out.
Grafana Dashboard Access
Verify that the Grafana service is running in your cluster.
In Kubernetes environments, execute the following command:
kubectl -n istio-system get svc grafanaIn Kubernetes environments, execute the following command:
istioctl dashboard grafanaVisit http://localhost:3000 your web browser.
Use
ctrl+cto break out.
Jaeger Dashboard Access
Verify that the Jaeger service is running in your cluster.
In Kubernetes environments, execute the following command:
kubectl -n istio-system get svc jaeger-collectorIn Kubernetes environments, execute the following command:
istioctl dashboard jaegerVisithttp://localhost:16686/jaeger/search your web browser.
Use
ctrl+cto break out.
Troubleshooting
Ensure you have the following path setup from Previous Section
Step3: Add the istioctl client to your path (Linux or macOS):
export PATH=$PWD/bin:$PATHIstio Cleanup / Uninstall
The Istio uninstall deletes the RBAC permissions and all resources hierarchically under the istio-system namespace. It is safe to ignore errors for non-existent resources because they may have been deleted hierarchically.
kubectl delete -f samples/addonsistioctl manifest generate --set profile=demo | kubectl delete --ignore-not-found=true -f -istioctl tag remove defaultThe istio-system namespace is not removed by default. If no longer needed, use the following command to remove it:
kubectl delete namespace istio-systemThe label to instruct Istio to automatically inject Envoy sidecar proxies is not removed by default. If no longer needed, use the following command to remove it:
kubectl label namespace default istio-injection-Last updated