tree: 85374df5d2633216dcbbe127ff3c4b9e91158b55 [path history] [tgz]
  1. extras/
  2. grafana.yaml
  3. jaeger.yaml
  4. kiali.yaml
  5. prometheus.yaml
  6. README.md
samples/addons/README.md

Telemetry Addons

This directory contains sample deployments of various addons that integrate with Istio. While these applications are not a part of Istio, they are essential to making the most of Istio's observability features.

The deployments here are meant to quickly get up and running, and are optimized for this case. As a result, they may not be suitable for production. See below for more info on integrating a production grade version of each addon.

Getting started

To quickly deploy all addons:

kubectl apply -f samples/addons

Alternatively, you can deploy individual addons:

kubectl apply -f samples/addons/prometheus.yaml

Addons

Prometheus

Prometheus is an open source monitoring system and time series database. You can use Prometheus with Istio to record metrics that track the health of Istio and of applications within the service mesh. You can visualize metrics using tools like Grafana and Kiali.

For more information about integrating with Prometheus, please see the Prometheus integration page.

Grafana

Grafana is an open source monitoring solution that can be used to configure dashboards for Istio. You can use Grafana to monitor the health of Istio and of applications within the service mesh.

This sample provides the following dashboards:

For more information about integrating with Grafana, please see the Grafana integration page.

Kiali

Kiali is an observability console for Istio with service mesh configuration capabilities. It helps you to understand the structure of your service mesh by inferring the topology, and also provides the health of your mesh. Kiali provides detailed metrics, and a basic Grafana integration is available for advanced queries. Distributed tracing is provided by integrating Jaeger.

For more information about using Kiali, see the Visualizing Your Mesh task.

Jaeger

Jaeger is an open source end to end distributed tracing system, allowing users to monitor and troubleshoot transactions in complex distributed systems.

Jaeger helps in a variety of tasks including:

  • Distributed context propagation
  • Distributed transaction monitoring
  • Root cause analysis
  • Service dependency analysis
  • Performance / latency optimization

For more information about integrating with Jaeger, please see the Jaeger integration page.

Zipkin

Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in service architectures. Features include both the collection and lookup of this data.

Zipkin is an alternative to Jaeger and is not deployed by default. To replace Jaeger with Zipkin, run kubectl apply -f samples/addons/extras/zipkin.yaml. You may also want to remove the Jaeger deployment, which will not be used, with kubectl delete deployment jaeger, or avoid installing it to begin with by following the selective install steps in Getting Started.

For more information about integrating with Zipkin, please see the Zipkin integration page.

Prometheus Operator

The Prometheus Operator manages and operators a Prometheus instance.

As an alternative to the standard Prometheus deployment, we provide a ServiceMonitor to monitor the Istio control plane and PodMonitor Envoy proxies. To use these, make sure you have the Prometheus operator deployed, then run kubectl apply -f samples/addons/extras/prometheus-operator.yaml.

Note: The example PodMonitor requires metrics merging to be enabled. This is enabled by default.

Note: The configurations here are only for Istio deployments, and do not scrape metrics from the Kubernetes components. See the Cluster Monitoring documentation for configuring this.