Integrated tracing in SMM
Distributed tracing is the process of tracking individual requests throughout their whole call stack in the system.
With distributed tracing in place it is possible to visualize full call stacks, to see which service called which service, how long each call took and how much were the network latencies between them. It is possible to tell where a request failed or which service took too much time to respond.
Service Mesh Manager uses Istio’s - and therefore Envoy’s - distributed tracing feature under the hood.
Test integrated tracing
- Jaeger is installed automatically by default when installing Service Mesh Manager.
- The demo application uses golang services which are configured to propagate the necessary tracing headers.
When utilizing distributed tracing for your own services, you need to implement context propagation for yourself!
- When load is sent to the application then traces can be perceived right away.
- Jaeger is exposed through an ingress gateway and the links are present on the UI (both on the graph and list view).
Jaeger link from the graph view:
Jaeger UI for the demo application:
There you can see the whole call stack in the microservices architecture. You can see when exactly the root request was started and how much each request took. You can see e.g. that the
analytics service took the most time out of the individual requests which is because it does some actual calculations (computes the value of Pi).