---
title: Istio
slug: istio
docTags: 
createdAt: 2024-02-06T20:26:20.992Z
---

If you use Istio as a service mesh and/or for ingress, OpsVerse's agents are pre-configured to easily pull metrics from the istio components. The [observability section](https://istio.io/latest/docs/concepts/observability/) of the official Istio documentation provides a good overview.

## Metrics

Metrics are automatically collected by the OpsVerse metrics agent. [This document](https://istio.io/latest/docs/examples/microservices-istio/logs-istio/) has info about some common metrics generated by Istio components.

## Logs

Use the `meshConfig` options to enable and configure access logs. You can also choose between JSON and text by setting `accessLogEncoding` to JSON or TEXT. You can customize the format of the access log by setting `accessLogFormat`.

Istio uses `envoy` as the proxy component. [This document](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#format-rules) has details of `envoy` access logs.

## Traces

Istio can be configured to generate APM traces. [This document](https://istio.io/latest/docs/tasks/observability/distributed-tracing/) has all the necessary info.

Note that the OpsVerse Otel collector is available in your K8s cluster at `http://otel-collector.devopsnow.svc.cluster.local:9411`.

## Visualization

Once the required telemetry is enabled, the `Istio Ingress Gateway` dashboard that is pre-packaged with your `ObserveNow` stack can be used to visualize incoming traffic.

![](https://api.archbee.com/api/optimize/xpy-ZuNXAextve6S5Tto2/-I5K9kh45auMSUtXU02Tg_istio-ingress-gateway.png)

![](https://api.archbee.com/api/optimize/xpy-ZuNXAextve6S5Tto2/P2psS6nhiOsuwZxILRk_g_istio-latencies.png)

![](https://api.archbee.com/api/optimize/xpy-ZuNXAextve6S5Tto2/vQ-0q3W4UhC6QfQ-ZhaF8_istio-spikes.png)

![](https://api.archbee.com/api/optimize/xpy-ZuNXAextve6S5Tto2/1tPEYiodqPaRlWmH1x9Ig_istio-useragent.png)

