Difficulty: Intermediate
Estimated Time: 1 hour

This scenario shows that you get out of the box monitoring via Prometheus and Grafana, and Tracing

Download the ebook "Introducing Istio Service Mesh for Microservices" for FREE at https://developers.redhat.com/books/introducing-istio-service-mesh-microservices/.

You can also run this tutorial on your machine, visit http://bit.ly/istio-tutorial.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Monitoring and Tracing

Step 1 of 3

Monitoring

For monitoring, Istio offers out of the box monitoring via Prometheus and Grafana.

Note: Before we take a look at Grafana, we need to send some requests to our application using on Terminal 2: while true; do curl http://customer-tutorial.[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com; sleep .2; done

Check the grafana route by typing oc get route -n istio-system

Now that you know the URL of Grafana, access it at http://grafana-istio-system.[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com/d/1/istio-dashboard?refresh=5s&orgId=1

You can also check the workload of the services at http://grafana-istio-system.[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].environments.katacoda.com/d/UbsSZTDik/istio-workload-dashboard?refresh=5s&orgId=1