Shipping ItLesson 28 of 74

Module 3 · Knowing what it is doing

Finding the slow bit

In this lesson

  • 10 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 9 of 9 in this chapter

This chapter’s goalAnswer “is it broken, for whom, and since when” in under five minutes using data you are already collecting.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

From a request ID to a shape

You already give every request an ID and log it everywhere. A trace is the next step: instead of scattered lines, you get a tree of spans, each with a start time and a duration, all sharing one trace ID.

Text
GET /orders                                     840ms
├─ auth.verify                                    4ms
├─ db.query orders                               31ms
├─ loop over 40 orders
│  ├─ db.query customer                           3ms
│  ├─ db.query customer                           3ms
│  └─ ... 38 more                               114ms
└─ http POST payments.example.com                610ms

You do not have to guess. The picture says the request spent 610ms waiting for a third party and 120ms doing a query it ran forty times.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Finding the slow bit’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/tracing-one-slow-request (Accessed: 29 November 2026).