Understand what actually happened.
Follow one request through the services, events and responses that explain its outcome.
Request timeline
504 Gateway Timeout POST /checkout
- POST /checkout shop-api
840 ms - cart.load cart
24 ms - SELECT order_items postgres
16 ms - payment.authorise payments
800 msTimeout - response.write shop-api
8 ms
Failed span
payment.authorise Upstream deadline reached after 800 ms. A slow checkout is an observation. To explain it, follow the parent request into the provider call, find the first failure and see what the application did next.
Find the first failure.
An outer request can lose the reason a child failed. Read the surrounding events and response together before reducing the incident to a reproduction.
- payments Authorisation requested
POST /v1/authorisations - http.client Deadline exceeded
deadline_ms = 800 - shop-api Checkout response sent
504 Gateway Timeout
Checkout deadline
- Request
- POST /checkout
- Order
- ord_1014
- Build
- 3f19a7c
- Environment
- staging
- Upstream
- payments
- Span boundaries
- Read child work within the duration of its parent. Overlapping spans contribute to elapsed time differently from sequential calls.
- Failure context
- Compare the upstream response with the application response and record which layer changed the outcome.
- Reproduction
- Keep the request shape, dependency behaviour and relevant state. Scrub sensitive values before sharing the case.
In the same workflow
How Trace fits into the planned x1991 workspace.
Availability
In development
Release history
Trace is in development. The interfaces use illustrative data. A public release date has yet to be announced.
Read the Trace concept guide