Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Latest commit

 

History

History
52 lines (33 loc) · 2.18 KB

istio-04-telemetry.md

File metadata and controls

52 lines (33 loc) · 2.18 KB

Istio04: Observability - Telemetry & Visualization

Generate Load on Bookinfo

Let's generate HTTP traffic against the BookInfo application, so we can see interesting telemetry. Grab the ingress gateway port number and host:

INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].port}')
export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT

Now, let us generate a small load on the sample app by using fortio which is a load testing library created by the Istio team:

The command below will run load test by making 5 calls per second for 5 minutes:

docker run istio/fortio load -t 5m -qps 5 http://$GATEWAY_URL/productpage

Let's now checkout the generated metrics.

Grafana

If you have not already exposed grafana, please follow Module Istio01. Once you have exposed grafana, please access to its dashboard. You can then navigate to the Istio Dashboard.

Prometheus

If you have not already exposed prometheus, please follow Module Istio01. Once you have exposed Prometheus, please access to its dashboard. Browse to /graph and in the Expression input box enter: istio_request_count. Click the Execute button.

For a more interactive graph, navigate to force/forcegraph.html.

Kiali

If you have not already exposed kiali, please follow Module Istio01. Once you have exposed kiali, please access to its dashboard. You can then navigate to the Kiali Dashboard.

Go to official Kiali site for more detail


Istio Top| Back | Next