Spring Cloud Sleuth automatically adds HTTP headers X-B3-SpanId and X-B3-TraceId to all the requests and responses. These fields are also included to the MDC as spanId and traceId. But before moving to the Kibana dashboard, I would like you to take a look at the following figure. This is a sequence diagram that illustrates the communication flow between sample microservices:
There are two available methods that are exposed by order-service. The first is for creating a new order and the second is for confirming it. The first POST / method, in fact, calls endpoints from all other services directly from customer-service ...