- Create a rule to collect telemetry data for your guestbook service.
istioctl create -f guestbook/guestbook-telemetry.yaml
- Run a script to generate a small work load for the app.
while sleep 0.5; do curl http://$INGRESS_IP/hello/world; done
- Wait until you see a few curl commands in your CLI.
- Cancel the script by pressing
Control
+c
.
-
Establish port forwarding from local port 3000 to the Grafana instance.
kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=grafana \ -o jsonpath='{.items[0].metadata.name}') 3000:3000
-
Browse to http://localhost:3000.
-
Navigate to the Istio dashboard.
- Establish port forwarding from local port 9411 to the Zipkin instance.
kubectl port-forward -n istio-system \ $(kubectl get pod -n istio-system -l app=zipkin -o jsonpath='{.items[0].metadata.name}') \ 9411:9411
- Browse to http://localhost:9411.
- In a new terminal window, establish port forwarding from local port 9090 to the Prometheus instance.
kubectl -n istio-system port-forward \ $(kubectl -n istio-system get pod -l app=prometheus -o jsonpath='{.items[0].metadata.name}') \ 9090:9090
- Browse to http://localhost:9090/graph.
- In the
Expression
input box, enter:request_count
. - Click Execute.
- In a new terminal window, establish port forwarding from local port 8088 to the Service Graph instance.
kubectl -n istio-system port-forward \ $(kubectl -n istio-system get pod -l app=servicegraph -o jsonpath='{.items[0].metadata.name}') \ 8088:8088
- Browse to http://localhost:8088/dotviz.
kubectl -n istio-system logs $(kubectl -n istio-system get pods -l istio=mixer -o jsonpath='{.items[0].metadata.name}') mixer | grep \"instance\":\"newlog.logentry.istio-system\"