Giter Site home page Giter Site logo

istio-telemetry-v2's Introduction

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

增加 istio 1.12 envoyfilter 的配置:

# 增加、修改、删除dimesions,需要在对应的workload 上增加annotation *sidecar.istio.io/extraStatTags: posta,posta_two*
kubectl apply -f custom-stats-filter-1.12.yaml

# 增加自定义指标和维度
kubectl apply -f create-new-metric-dim-1.12.yaml

istio-telemetry-v2's People

Contributors

christian-posta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.