Istio

Setup

Prometheus metrics for Istio can be enabled by following the setup instructions documented here. Once the exporter is set up, check the following metrics to verify the setup:

  • istio_build

Metrics

Request, Errors, and Latency

Metric

KPI

Request Counter

istio_requests_total

Request Rate

rate(istio_requests_total{reporter="destination"}[5m])

Error Counter

istio_requests_total

Error Ratio (server errors)

rate(istio_requests_total{reporter="destination", response_code="5.."}[5m])/ rate(istio_requests_total[5m])

Error Ratio (client errors)

rate(istio_requests_total{reporter="destination", response_code="4.."}[5m])/ rate(istio_requests_total[5m])

Latency Histogram

istio_request_duration_milliseconds

Latency Average

rate(istio_request_duration_milliseconds_sum[5m])/ rate(istio_request_duration_milliseconds_count[5m])

Latency P99

histogram_quantile ( 0.99, sum(rate(istio_request_duration_milliseconds_bucket[5m]) > 0) by (le) )

Resource

Metric

KPI

Network Bytes Received

istio_request_bytes_sum

Network Bytes Transmitted

istio_response_bytes_sum

Data transfer rate

rate(istio_request_bytes_sum[5m)

rate(istio_response_bytes_sum[5m)

Alerts

KPI

Alert

Request Rate

RequestRateAnomaly

Error Rate

ErrorRatioBreach

ErrorBuildup based on a 99.9 SLO

Latency Average

Latency P99

LatencyAverageBreach

LatencyAverageAnomaly

LatencyP99ErrorBuildup

Network Bytes

ResourceRateAnomaly

KPI Dashboard

Istio KPI Dashboard shows all the above mentioned KPIs

Last updated