Envoy Statistics

    Envoy’s statistics only cover the traffic for a particular Envoy instance. See Observability for persistent per-service Istio telemetry. The statistics the Envoy proxies record can provide more information about specific pod instances.

    To see the statistics for a pod:

    By default, Istio configures Envoy to record a minimal set of statistics to reduce the overall CPU and memory footprint of the installed proxies. The default collection keys are:

    • listener_manager
    • server

    To see the Envoy settings for statistics data collection use and follow the deep dive into Envoy configuration. Envoy only collects statistical data on items matching the inclusion_list within the stats_matcher JSON element.

    To configure Istio proxy to record additional statistics, you can add to your mesh config. For example, to enable stats for circuit breaker, retry, and upstream connections globally, you can specify stats matcher as follows:

    Proxy needs to restart to pick up the stats matcher configuration.

    Note: If you are using sidecar.istio.io/statsInclusionPrefixes, sidecar.istio.io/statsInclusionRegexps, and , consider switching to the ProxyConfig-based configuration as it provides a global default and a uniform way to override at the gateway and sidecar proxy.