Collect istiod and Istio-proxy metrics using Prometheus Operator#

Introduction#

The Istio control plane (istiod) and the Istio proxies (and any filters installed in them, such as Packet Inspector 1 and 2 filters) expose metrics that you can scrape using Prometheus. If you have Prometheus Operator installed, you can easily scrape the istiod and Istio-proxy metrics by installing the associated service monitor and pod monitor included with Aspen Mesh.

Note

Metrics Collector (a Prometheus Server chart) collects these same metrics using scrape configurations instead of service and pod monitors but is deprecated.

Install the istiod service monitor and the Istio-proxy pod monitor#

  1. Make sure you have Aspen Mesh and Prometheus Operator installed.

  2. Change to the Aspen Mesh release directory.

  3. Install the istiod service monitor and the Istio-proxy pod monitor:

    $ kubectl apply -f samples/addons/extras/prometheus-operator.yaml
    

    Prometheus Operator should now be scraping metrics from istiod and the Istio proxies. Both the istiod and Istio-proxy metrics are scraped every 15 seconds.