June 2026
Intermediate
490 pages
10h 47m
English
In Chapter 4, we instrumented the HTTP boundaries, the first two hops in our request journey. But when we examined our first checkout trace, we encountered a familiar frustration: the orders: POST /orders span took 800ms, yet everything beneath it was invisible. The handler remained a black box. We knew the service was slow, but not what inside it was slow.
This chapter follows the request into Hop 3: Database queries. We'll instrument SQLx to produce first-class database spans that reveal the true structure of data access, which queries run, in what order, and how long each takes. By the end, every database operation in OpenTel E-Commerce will appear as a properly ...
Read now
Unlock full access