christian-posta / istio-telemetry-v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deep dive Istio telemetry v2

This is a quick jump into Istio telemetry v2 to accompany this blog post.

For more information, see the Istio documentation. For even more, see Chapter 7 on Observability in my book Istio in Action.

Set up cluster

$  kind create cluster
$  istioctl install -y
$  ./setup.sh

From here, we can make a call to the Istio ingress gateway:

$  kubectl -n default exec -it deploy/sleep -- curl -H "Host: istioinaction.io" http://istio-ingressgateway.istio-system/

We should see 1/2 of the calls fail between recommendation and purchase-history services.

If we scrape the metrics, we can see

kubectl exec -it -n istioinaction deploy/recommendation -c istio-proxy -- curl localhost:15000/stats/prometheus | grep istio_requests_total

About


Languages

Language:Shell 100.0%