Order creation is taking longer, yet nearly every order still goes through. The gateway dashboard shows the slowdown; authentication and order services report steady error rates; the database does not appear saturated. A trace shows a long external call, while a log records a successful retry. Where did the wait begin? This incident is hypothetical, but the difficulty is real: collecting data from every service does not necessarily reveal the sequence of events behind the user's experience.
That difficulty is part of the cost of choosing microservices. Splitting an application can enable independent deployments, clearer ownership, and targeted scaling when domain boundaries are sound and teams can support them. It also turns in-process calls into interactions exposed to networks, queues, concurrency limits, contract versions, and partial failures. The architectural question is not how many services a team can create, but whether the benefits of separation justify the ongoing work of understanding and operating the resulting system.
The dashboard detects the slowdown; the investigation must explain the path
Monitoring answers anticipated questions well: Has latency increased on a particular route? Has traffic or the error rate changed? Are resources saturated? Alerts tied to user-visible impact help teams decide when to act. Observability, in an operational sense, is the ability to investigate behavior for which no dashboard was prepared, including how to distinguish competing explanations of a system's internal state. The distinction concerns purpose, not tools: the same measurements can serve both. The Google SRE book's chapter on monitoring separates symptoms from causes and recommends focusing actionable alerts on service impact.
In a distributed architecture, the time experienced by a client may include work outside the process that received the request: authentication, waiting for a connection, a database query, a call to another service, time in a queue, and retries. An aggregate dashboard can hide a slowdown limited to one route, version, or region. A steady success rate does not rule out degradation either: retries can preserve the final outcome while consuming the response-time budget. Before looking for a service to blame, engineers need to establish which requests were affected, when, and under what conditions.
Telemetry signals answer different questions. Metrics aggregate events and make trends and distributions comparable, but cannot, by themselves, show the path of an individual request. Logs record local events and decisions, such as a timeout or an additional attempt; without correlation identifiers, proximity in time does not prove that entries belong to the same execution. Distributed traces connect instrumented operations along that path and help locate where time was observed. An incomplete trace, however, cannot explain an uninstrumented interval, and a long interval alone cannot establish the cause of a delay. A productive investigation starts with a hypothesis: a metric defines the pattern, a trace points to the boundary worth examining, and logs help test what happened there.
What a trace can establish
A trace consists of spans: records of operations with start and end times, attributes, individual identifiers, and a shared trace identifier. A parent span's identifier can connect, for example, the gateway request to the order operation and the call it initiated. That relationship represents instrumented causality, not a measurement of every operation in the system. Two child spans may run in parallel, so adding their durations overstates the time the client experienced. There may also be intervals without child spans. The OpenTelemetry trace specification describes these relationships, including links for causal connections that do not fit a single parent-child relationship.
For this structure to cross process boundaries, the calling service must propagate context to the next one. With HTTP, that commonly happens through the W3C traceparent header: the receiver extracts the identifiers before creating its child span. Messages and asynchronous tasks likewise need to carry context or record an appropriate link. If a proxy removes the header, a library loses context when switching tasks, or a consumer starts an unrelated trace, the visualization presents partial histories. A missing span may also result from incomplete instrumentation, sampling, or export failure; it does not establish that the operation never happened. Context propagation and span export are separate mechanisms, as the OpenTelemetry context propagation documentation explains.
Traces also demand care in attributing latency. Depending on the instrumentation, an HTTP client span may cover waiting for an available connection, establishing that connection, transmission, the response, and retries. Calling its duration “partner latency” without measuring those stages assigns the remote system time that may have been spent locally. For parallel calls, an investigation must account for overlap and the path that determines the response time; across services, clock differences can distort the visual positions of spans. Identifiers and causal links help reconstruct the logical order, while timestamps describe intervals observed in each process.
A hypothetical incident, step by step
Consider an entirely hypothetical example, with no production measurements. A POST /orders request passes through an API gateway, checks with an authentication service, and reaches an order service. The order service writes to a database and requests a check from an external provider before responding. After a deployment, high latency is concentrated on this route, while the proportion of successful responses remains steady. The first comparison should break down the data by route, version, and instance, compare traffic and latency distributions with the preceding period, and check whether the slowdown coincides with the deployment. Timing narrows the search; it does not yet prove that the change caused the incident.
Among the available traces of slow requests, some show brief authentication and database operations but a long span in the provider client. Structured logs from the order service, associated with trace_id and span_id, record a timeout followed by a successful retry. That explains how the success rate could remain steady, but leaves two possibilities open: the provider took too long to respond, or the client waited for a connection before sending the request. The trace places the wait at the boundary; it does not yet separate those intervals. Engineers must also check whether the slow traces are representative or whether the sampling policy favored a particular class of requests.
To distinguish these explanations, the team measures connection acquisition and each attempt separately, examines connection-pool occupancy and limits, and compares those measurements with the provider's observed latency, if its records are available. Suppose the new measurements show growing wait time before transmission, the deployment changed a connection limit, and a controlled test restoring that limit reduces the wait without a corresponding change in remote response time. In this hypothetical case, the evidence converges on local contention; the timeout in the log was an effect of connection scarcity, not proof that the provider was slow. If pool measurements or external records are unavailable, the conclusion must remain narrower: the client operation was delayed, but its origin is unresolved. Changing retry behavior before making that distinction could increase concurrency and worsen the contention.
Standardizing collection does not close every gap
OpenTelemetry supplies APIs, SDKs, instrumentation conventions, and propagators to produce and connect signals. Its Collector can receive, process, and export telemetry to destinations chosen by the team; storage and visualization depend on those destinations and do not appear automatically when an application is instrumented. The Collector documentation describes this pipeline. Adopting it requires decisions about which libraries have adequate automatic coverage, where business operations and queues need spans, how to keep attributes consistent across services, and how to detect export losses. A healthy Collector cannot repair a call that never received context or a step that was never measured.
Coverage has a cost. Each distinct combination of metric attributes can produce a time series; using user_id, an order number, or a raw URL as a dimension can multiply series, memory use, and storage. Prometheus's guidance on metric names and labels warns about this effect. Parameterized routes, operations, and outcome classes are usually easier to bound. Individual identifiers can aid correlation in logs or traces when necessary and permitted, subject to access and retention policies. None of these choices replaces first deciding which operational question the data needs to answer.
Keeping every trace increases processing, transport, and retention costs. Head sampling makes a decision near the start of an execution and cuts volume early, but can discard a rare case that only becomes interesting when it turns out to be slow. Tail sampling can select traces by latency or error after receiving their spans; doing so requires temporarily holding data and bringing parts of the same execution together, adding state and cost to the pipeline. Neither strategy recovers spans that were never created or were lost before the decision. The OpenTelemetry sampling documentation explains these limitations. Sampling rates and criteria should reflect traffic, the incidents the team needs to diagnose, and its budget, with regular checks on what is being dropped.
Instrumentation also consumes CPU, memory, and network capacity. Batch export reduces work on the request path, but full queues or export failures can drop spans; the trace SDK specification accounts for that behavior. Short retention limits cost and exposure but narrows the window for investigating an older incident. Request bodies, tokens, and personal data should not enter attributes or logs for convenience: filtering after collection cannot undo copies already sent. OpenTelemetry's guidance on handling sensitive data recommends identifying and protecting such information in telemetry. Finally, making every internal fluctuation trigger an alert burdens the team and makes actionable incidents harder to recognize. Detailed data is more useful as investigative evidence than as an automatic reason to interrupt someone.
The complexity that belongs in the architectural decision
Before extracting a service, ask whether it can actually be deployed and scaled independently, who will own its failures, and what evidence will distinguish a local wait from a remote one. A clear domain boundary, different scaling needs, or separate change cycles may justify the split. If components change together, depend on tightly coupled transactions, and are operated by the same team, a modular monolith can preserve code boundaries without requiring context propagation, network contracts, and cross-process investigation for every interaction. That does not make a monolith immune to failure or remove the need for telemetry; it reduces some boundaries whose operation would otherwise have to be funded continuously.
Distributed systems remain difficult to diagnose even with metrics, logs, and traces because those signals record different parts of an execution under imperfect coverage, sampling, and retention. The decisive step is not collecting more events indiscriminately: it is knowing what each measurement can establish, instrumenting the boundary that separates competing explanations, and checking whether the telemetry pipeline preserved the evidence. In choosing microservices, a team also chooses how many of those boundaries it will have to explain during the next incident.
Related reading: Microservices: When the Complexity Isn't Worth It.