It was my first week as CTO at the platform. At around 8:40 p.m., an alert came in showing that the order conversion rate on the food side had dropped by 4 percent. Calls along the lines of "my money was taken, but I can't see my order" had started coming in to the customer support line. When I walked into the war room, six engineers were grepping the logs of six different services on six different screens. I asked one of them: "Which service did this customer's order get lost in?" The answer was burned into my memory that night: "We don't know. The order passes through 14 services, and each service uses its own log format. We're matching them up by hand, boundary by boundary." The problem itself turned out to be a 40-minute configuration error. Finding it took 6 hours and 20 minutes. That night I wrote a single sentence in my notebook: We're not monitoring the system; we're collecting its memories.
A Fourteen-Stop Journey Without a Map
We later drew an order's journey through our system on a whiteboard: API gateway, session authentication, cart, campaign/coupon, pricing, stock-menu, order orchestration, payment, fraud check, restaurant integration, courier assignment, notification, invoicing, and the data warehouse feed. Fourteen services; three in PHP, five in Java Spring Boot, four in Node.js, two from external providers. Between them, both synchronous HTTP and Kafka. That night's bug was the campaign service sending a line item with a negative amount to the pricing service for a newly launched coupon type; pricing rejected it, and since order orchestration had already taken the payment, the order was left "in limbo." The services at both ends of the chain were healthy; the bug was right in the middle, in the contract between two services. The per-service dashboards were all green — because every service was doing its own job "correctly."
At the first meeting, the objection I expected came up: "We already have a correlation ID." We did, on paper. In reality, three separate traditions from three separate generations lived side by side: the PHP services carried an X-Request-Id header but dropped it when writing to Kafka; half of the Spring Boot services generated their own trace ID and overwrote the incoming one; and on the Node.js side, because async context wasn't managed, the ID got lost after the first await. We measured it: the share of orders that could be logged end to end with the same correlation ID was 23 percent. In other words, in three out of four orders the chain broke at least once, and the place it broke most often was the boundary where the synchronous world handed off to Kafka.

The Standard First, Then the Tool
Reflexively, the "let's just buy a tracing tool" discussion started. I deliberately slowed it down, because I'd lived through the opposite at my previous company: if the tool comes first, everyone makes it speak their own dialect, and you're left with an expensive Tower of Babel. First we wrote a one-page contract: context propagation follows the W3C Trace Context standard (the traceparent header), the same information is carried in the message header for Kafka messages, no service may overwrite an incoming trace ID, and every log line includes the trace ID. For tooling we chose the OpenTelemetry SDKs; having official support in all three languages made it the only reasonable path in our polyglot reality. For collection, an OTel Collector on every node, and behind it an open-source backend (Tempo) and our existing Grafana.
The rollout plan deliberately followed the "most valuable path": first the 14 services on the order journey, the other 40-odd services later. The Spring Boot side was the easiest — with the Java agent, we hooked up three services in one sprint with almost zero code changes. On the Node.js side, auto-instrumentation worked, but async context leaks kept us busy for two weeks; in particular, an old Redis queue wrapper we'd written ourselves was swallowing the context. PHP was the most painful: official support wasn't mature at the time, so instead of full auto-instrumentation in the PHP services, we wrote a thin library that started a span at the gateway and carried the header manually. It wasn't perfect, but it didn't break the chain — and in this line of work, "don't break the chain" comes before everything else.

The Dream of 100 Percent Sampling and Its Bill
The second big debate was the sampling rate. We were producing several million orders a day and an average of 38 spans per order; with head-based 100 percent sampling, our storage projection in the first week ran into terabytes per month. The team's first instinct was "let's sample 1 percent"; I pushed back on that too, because the real value of tracing isn't in the average request but in that one-in-a-thousand weird one — with 1 percent sampling, whether you actually have the faulty trace you're looking for is a gamble. We found the middle ground with tail-based sampling: the Collector waits until the trace is complete and then decides. Every trace that ends in an error, takes longer than 2 seconds, or touches the payment-refund flow is kept at 100 percent; healthy, ordinary traces at 5 percent. Storage came down to a tenth of the projection; in return, in the war room the answer to "do we have a trace for that order?" is, in practice, always "yes."

Then there's the benefit nobody mentioned up front: trace data draws you an organizational map. At the end of the first month, the service dependency graph we generated from spans showed 11 dependencies that weren't in our architecture documentation. One of them was the notification service making a synchronous call to the pricing service — for no sensible reason at all; it had been added years earlier for a campaign and forgotten. That call slowed notifications down every time pricing slowed down. Nobody knew, because it wasn't written down anywhere anyone could see.
I won't hide the cultural resistance either. In the first weeks, the same objection came from two teams: "We're already behind, and now instrumentation work on top of that?" Our answer wasn't to force it, but to show the value in a single incident: in February, an intermittent 500 error that one team hadn't been able to solve on its own in two days, we cornered in 20 minutes using the spans of a neighboring service that had tracing enabled — the bug was a connection pool running dry on one particular pod. In the next sprint, that team asked for instrumentation themselves. Observability investment spreads through envy, not orders; the team that watches another team walk out of the war room in five minutes wants the same weapon.
From Six Hours to Four Minutes
The test of the transformation came on a Friday evening in early March: "my money was taken, there's no order" calls again, the evening peak again. This time the on-call engineer filtered the failed traces in Grafana, opened the first trace, and wrote down the answer in the fourth minute: the p99 of an external scoring API called by the fraud service had climbed to 18 seconds, and since our timeout was 20 seconds, the requests weren't dying; they were swelling the queue. On the span, the external call's duration sat there as a red bar. The fix: pull the timeout down to 3 seconds and turn on the fallback. The total impact lasted 11 minutes, and the customer support line didn't even feel the wave. Our diagnosis time in January had been 380 minutes; in this incident, 4 minutes. Our average diagnosis time (call it MTTD) dropped from 96 minutes to 12 minutes that quarter.
The lesson I took from this work is that tracing is a matter of a shared language before it is an observability tool. Fourteen services, three programming languages, two communication styles — their shared memory can only be built with a mandatory standard, and that standard has to come before the tool. The second lesson: starting instrumentation from "the most valuable workflow" produces value many times faster than starting everywhere at once. If you have more than 10 microservices and you're still solving incidents by grepping logs, every on-call night you live through is really a choice. If you'd like to talk through a roadmap for changing that choice, you can reach me here; the whiteboard photo from my first war-room night is still on my phone, and we can start from there if need be.
The 14-stop drawing from that whiteboard now sits on the cover of the company wiki. The caption under it isn't mine; it's a line from the engineer who was on call that night: "You can't manage a journey without a map; we spent two years running transport without one."