A checkout service occasionally takes several seconds to respond. The team wants to see how one request's time is split across the frontend, a payment call, and a database call. Which tool shows that breakdown?
Show answer and explanation
Answer: B
Cloud Trace is a distributed tracing service. Instrumented services record spans for each hop of a request, including the time spent in downstream calls, and the Trace explorer shows them on a timeline. That breakdown identifies which hop causes the delay, which is the question here. Cloud Profiler answers a different question about code-level CPU and memory use.
Why the other options are wrong
- A. Connectivity Tests check whether a network path exists between two endpoints. They do not measure how long each application call inside a single request takes.
- C. Flow logs record network flows, not application-level timing for each step of a request. They cannot attribute latency to the payment or database calls.
- D. Cloud Storage access logs record requests made to buckets. They do not cover the frontend, payment, and database hops of this checkout path.