Trace

Understand what actually happened.

Follow one request through the services, events and responses that explain its outcome.

Trace / shop-api Design preview
Request timeline

POST /checkout

504 Gateway Timeout
  1. POST /checkout shop-api
    840 ms
  2. cart.load cart
    24 ms
  3. SELECT order_items postgres
    16 ms
  4. payment.authorise payments
    800 ms Timeout
  5. response.write shop-api
    8 ms
Failed span payment.authorise Upstream deadline reached after 800 ms.
Read the nested execution path on a common time axis.

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.

Trace / shop-api Design preview
Related events · UTC
  1. payments Authorisation requested POST /v1/authorisations
  2. http.client Deadline exceeded deadline_ms = 800
  3. shop-api Checkout response sent 504 Gateway Timeout
Reproduction inputs

Checkout deadline

Request
POST /checkout
Order
ord_1014
Build
3f19a7c
Environment
staging
Upstream
payments
Related events preserve the order in which the failure became visible.
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.

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