mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-06 05:03:27 +00:00
24 lines
1.6 KiB
Markdown
24 lines
1.6 KiB
Markdown
---
|
|
title: 6. Generate and View Traffic
|
|
weight: 7
|
|
---
|
|
|
|
This section describes how to view the traffic that is being managed by Istio.
|
|
|
|
# The Kiali Traffic Graph
|
|
|
|
The Istio overview page provides a link to the Kiali dashboard. From the Kiali dashboard, you are able to view graphs for each namespace. The Kiali graph provides a powerful way to visualize the topology of your Istio service mesh. It shows you which services communicate with each other.
|
|
|
|
>**Prerequisite:** To enable traffic to show up in the graph, ensure you have prometheus installed in the cluster. Rancher-istio installs Kiali configured by default to work with the rancher-monitoring chart. You can use rancher-monitoring or install your own monitoring solution. Optional: you can change configuration on how data scraping occurs by setting the [Selectors & Scrape Configs]({{<baseurl>}}/rancher/v2.6/en/istio/configuration-reference/selectors-and-scrape) options.
|
|
|
|
To see the traffic graph,
|
|
|
|
1. In the cluster where Istio is installed, click **Istio** in the left navigation bar.
|
|
1. Click the **Kiali** link.
|
|
1. Click on **Graph** in the side nav.
|
|
1. Change the namespace in the **Namespace** dropdown to view the traffic for each namespace.
|
|
|
|
If you refresh the URL to the BookInfo app several times, you should be able to see green arrows on the Kiali graph showing traffic to `v1` and `v3` of the `reviews` service. The control panel on the right side of the graph lets you configure details including how many minutes of the most recent traffic should be shown on the graph.
|
|
|
|
For additional tools and visualizations, you can go to Grafana, and Prometheus dashboards from the **Monitoring** **Overview** page
|