Observability Is Architecture
A system that cannot explain why it is behaving the way it is right now cannot be operated safely — you can only watch it and hope. Observability is therefore not an operational add-on but a capability you build into the architecture. A decision document for CTOs, lead developers and software architects.
What is this? · Reference Guide
A solid guide to an engineering question — with trade-offs, costs and the case in which we decide differently. Not an opinion piece, but a reference text. Go to overview
- Author
- Batunet Engineering
- Reading time
- 16 min
- Level
- In depth
- Status
- Approved
- Last reviewed
- 21 July 2026
- Updated
- 21 July 2026
On this page
Most systems are built to answer requests, and only afterwards equipped with the ability to answer questions about themselves. This order is the reason so many systems fall silent when things go wrong: they deliver a result, but they cannot say how they arrived at it. When something then goes wrong, the guessing begins — and guessing under load, with users affected, is the most expensive way to operate a system.
This document puts forward a single thesis and derives everything else from it: software that cannot explain its own behavior cannot be operated safely. Observability is therefore an architectural capability, not a downstream operational task. The document is deliberately neutral with respect to frameworks, clouds and vendors and contains no instructions for any specific tool. Tools change; the property at stake remains.
1. Why monitoring is not enough
Monitoring and observability are often equated, even though they answer different questions. Monitoring answers questions you asked in advance: Is the service reachable? Is the error rate above a threshold? Is the response time too high? You define a metric, a dashboard, an alert — and get an answer to exactly that question, formulated beforehand. Monitoring is the art of keeping known questions permanently in view.
The problem is that serious outages rarely take the shape you anticipated. A dashboard shows the error rate rising — but not why, not for which users, not on which path. At exactly the moment you need it most, what monitoring can deliver ends and what observability must deliver begins: the ability to ask the running system a question you did not know before, without having to redeploy it.
Monitoring is therefore not the opposite of observability but a subset of it: the predefined questions. An observable system can do both — keep the known questions in view and answer the unknown ones when it matters. A merely monitored system can only do the former.
| Aspect | Monitoring | Observability |
|---|---|---|
| Questions | defined in advance | can be asked after the fact |
| Covers | known knowns, known unknowns | also unknown unknowns |
| Unit | metric, threshold, dashboard | operation with full context |
| During an outage | shows that something is wrong | lets you ask why |
| Cost | lower | higher — more raw material required |
Trade-off. Monitoring is cheaper and simpler because it only stores the questions you know. Observability costs more because it has to keep enough raw material on hand to answer questions nobody has asked yet.
Cost. You pay for the additional capability with more data, more context per event and the discipline to carry that context from the start — not with a more expensive dashboard.
When we decide differently. For a simple, isolated system with few, well-understood failure modes, plain monitoring can be enough. As soon as a system is distributed, long-lived or business-critical, it no longer suffices.
2. Unknown unknowns
The heart of the matter is an old distinction. There are things we know we know — the familiar metrics you put on a dashboard. There are things we know we don't know — the suspected risks you set alerts on. And there are things we don't know we don't know: the failures nobody anticipated, because they arise from a combination of circumstances that appeared in no plan.
Complex systems fail predominantly because of this third kind. Not because a known value crosses a threshold, but because two harmless states coincide, a rarely traveled path tips over under load, an assumption silently becomes wrong. For such failures there can, by definition, be no prepared dashboard — you didn't know you should have asked.
A common reflex makes the problem worse instead of solving it: after every incident, you build a new dashboard for exactly that case. Over time this accumulates into a graveyard of dashboards, each a monument to a past outage — and none of them a help for the next one, because the next one has a different shape. You cannot turn unknown unknowns into known knowns by adding displays in hindsight; you can only maintain the ability to ask a new question at the moment of the next, unforeseen case. The reflex treats the symptom of the last incident; the capability treats the class of all future ones.
Diagram: Monitoring serves the anticipated fields. Serious outages live in the bottom-right field — where you didn't know the question beforehand.
This yields the actual definition of observability: a system is observable if you can infer its internal state from its externally visible outputs — including states nobody thought of when it was built. That is not a property of a tool but a property of what the system reveals about itself.
Trade-off. Being equipped for unknown questions means carrying more context than you will ever need in normal operation. You pay permanently for a capability that only pays off in exceptional cases.
Cost. The price is data volume and the care needed to give every event enough context to be able to place it later — without knowing which context will one day be decisive.
When we decide differently. Where the set of possible states is small and manageable, the effort for unknown unknowns is overkill; there it suffices to cover the known cases cleanly.
3. Logs, metrics and traces
Observability usually relies on three kinds of signals that complement rather than replace each other. Distinguishing them matters, because each answers some questions well and others poorly — and because it is easy to collect too much of one and too little of another.
Metrics are aggregated numbers over time: counters, distributions, rates. They are cheap to store and ideal for seeing trends and thresholds — but they lose the individual case. A metric tells you that response time has risen, never for which request. Logs are discrete events with detail: they tell what happened at a particular point and are strong when you want to trace a specific operation — but they become expensive and unwieldy at high volume. Traces follow a single operation across component and system boundaries and show the causal path and where the time went — indispensable in distributed systems, but burdened with the question of how much to record when not everything can be stored.
| Signal | Answers well | Blind to | Cost driver |
|---|---|---|---|
| Metrics | trends, thresholds, aggregates | the individual case | cardinality of dimensions |
| Logs | "what exactly happened here?" | context across boundaries | volume under high traffic |
| Traces | causal path, latency distribution | rare events when sampling | amount recorded and stored |
The most common design mistake is to treat all three as interchangeable and use one for everything — painstakingly reconstructing metrics from logs, say, or trying to hunt down an individual case with metrics. Each signal has its place; the art is choosing the cheapest sufficient signal for each question.
Trade-off. More signal types mean more coverage, but also more systems, more data and more places where context has to be kept consistent.
Cost. Each signal type has its own cost driver — cardinality, volume, amount recorded — which grows surprisingly fast under real load.
When we decide differently. In a single, non-distributed service you can do without traces and get by with metrics and structured logs; traces only pay off once an operation crosses several boundaries.
4. Designing for observability
The decisive statement is: observability cannot be retrofitted without touching the system. Some of it is cheap to add later; the most important part is not. If you want the capability, you have to provide for it in the design.
Two things must be considered from the start. The first is context propagation: every operation carries a correlation or trace identifier that is passed along across every boundary — function call, message, network boundary — so that all traces of an operation can be brought together at the end. Building this propagation in after the fact means touching every boundary in the system; from the start, it is almost free. The second is producing events in a structured form with rich context instead of as free-form text: who, what, in which operation, with what outcome. A structured event that carries the operation's identity, the affected user or tenant and the outcome can later be queried along dimensions you never anticipated when writing it.
Diagram: Without a propagated identifier, an operation falls apart into disconnected fragments. This propagation is a design decision, not a tool setting.
The right unit of observation is not the individual log line but the operation with its full context — the request, the job, the transaction, from start to finish. A system that produces one rich, structured event per operation is observable; one that emits scattered lines of text without a common thread is not, no matter how many tools you put on top of it.
Trade-off. Context propagation and structured events demand discipline throughout the code and some effort at every boundary — in exchange for being able to ask arbitrary questions later.
Cost. Rich context means more data per event and ongoing care to ensure new paths carry the identifier as well — a convention that has to be enforced in review.
When we decide differently. In a very small, short-lived system, informal logging can suffice; investing in context propagation only pays off once operations cross boundaries or the system lives long.
5. Observability during development
Observability is often regarded as purely a production topic. That is a mistake, because the signals that explain an outage in production are the same ones that explain a failing test or an unclear state during development. If you only design observability after the first incident, you design it under pressure and incompletely.
The practical litmus test is simple: can a developer explain locally why the system behaves the way it does for a given input — solely from what the system outputs, without a debugger and without sprinkling in extra print statements? If not, the same deficiency becomes vastly more expensive in production, under load and with users affected. Observability during development is therefore not a luxury but the test of whether the capability exists at all. The structured events and context propagation you need for production anyway are best done when you write the code — because that is when you know the most about it.
Trade-off. Building in observability early slows down the first version, because you design events and context before an incident proves their value.
Cost. The effort comes due exactly when the pressure to show anything that runs at all is highest — it competes directly with visible progress.
When we decide differently. For a throwaway prototype that never goes into production, this investment is wrong; there, all that counts is learning something quickly.
6. Observability in production
Production is where it is decided whether the designed capability holds up. Here the signals meet real load, real cardinality and real questions that must be answered in the middle of an incident. Three things determine whether that succeeds.
The first is cardinality — the number of distinct dimension values. Rich context is the reason you can ask arbitrary questions; at the same time, high cardinality is the biggest cost driver and, in some signal systems, a hard limit. You have to decide deliberately which dimensions you carry permanently and which you discard. The second is sampling: if not every operation can be recorded in full, you have to choose which ones — and make sure that the rare, faulty operations are not precisely the ones that drop out. The third is the language of "good enough": measurable targets for what behavior is acceptable, so that alerts aim at symptoms users feel rather than at causes that may be harmless.
The consumer of all this is the person on call. Observability in production has succeeded when that person can ask and answer a new question during an incident without changing the system. If that fails, you have collected data but not achieved observability.
Trade-off. Completeness and cardinality buy answering power at the cost of money and operational effort; sampling and retention limits buy frugality at the risk of losing exactly what is rare.
Cost. Production observability is a permanent line item: storage, retention, maintaining targets and alerts, and the time to keep it all current.
When we decide differently. For a system with low load and high fault tolerance, you choose generous sampling and short retention; for a business-critical system with tight targets, you consciously bear the higher costs.
7. The cost of observability
Observability is not free, and an honest decision document names the price as clearly as the benefit. The costs arise in three areas.
The first is data: signals generate volume, and rich context multiplies it. Storage, transfer and retention have real costs, and cardinality can drive costs disproportionately. The second is runtime: instrumentation in the hot path costs some compute time and, placed carelessly, can itself become a source of latency. The third, often underestimated, is cognitive load: too many signals without order are as useless as too few — you drown in data and still can't find the answer. Collecting more is not the same as understanding more.
This leads to a stance that runs through this entire text: observability is not "as much as possible" but "as much as necessary to be able to answer arbitrary questions." The goal is not the maximum amount of data but the minimum that preserves the capability. Everything beyond that is cost without insight.
Trade-off. Every additional recording increases answering power and cost at the same time; the art lies not in collecting but in leaving out what is unnecessary.
Cost. Without deliberate limits, observability grows into one of the largest and fastest-rising operational line items — without automatically producing more insight.
When we decide differently. Where budget or runtime is strictly limited, you deliberately reduce to the few signals that carry the most frequent questions, and accept that rare questions become more expensive to answer.
8. Common mistakes
The recurring patterns on which observability fails — almost all of them are variants of the same mistake, treating it as a tool instead of a design property:
- Logging everything in the hope that the answer will be in there somewhere — and drowning in volume instead of being able to answer questions.
- Logging too little and without context, so that every line stands on its own and no operation can be reassembled.
- Not propagating a correlation or trace identifier, irretrievably breaking the causal path into fragments.
- Producing free-form text instead of structured events, so that you cannot query by dimension later.
- Building only dashboards for known knowns and believing that this prepares you for the unforeseen.
- Alerting on causes instead of symptoms users feel — and becoming numb in a flood of harmless alerts.
- Letting cardinality grow without limit until costs explode or the signal system hits a hard limit.
- Choosing samples in such a way that exactly the rare, faulty operations drop out.
- Designing observability only after the first incident — retrofitted under pressure, incompletely and expensively.
- Tying yourself to vendor-specific instrumentation, so that switching tools touches the entire system.
9. Decision checklist
Before and during the design of a system, clarify in order:
- Explainability? Can the system explain from its outputs why it behaved the way it did for a specific operation — without a debugger and without a new deployment?
- Context propagation? Does every operation carry a correlation/trace identifier across all boundaries?
- Structured events? Are events produced in a structured form with rich context, so that you can later query along unforeseen dimensions?
- Right unit? Is the unit of observation the entire operation, not the individual line?
- Signal choice? Is the cheapest sufficient signal chosen for each question — metrics for trends, logs for individual cases, traces for paths across boundaries?
- Unknown unknowns? Is there enough raw material to answer questions nobody knew about when the system was built?
- Cardinality and sampling considered? Has it been decided which dimensions are carried permanently, and is it ensured that rare failures don't drop out of the sample?
- Symptom-based alerts? Do alerts target noticeable symptoms and measurable targets rather than possibly harmless causes?
- Costs limited? Is observability limited to what is necessary rather than the maximum — deliberately, not by accident?
- Tested during development? Has explainability been tested locally, not just in production?
If you cannot answer these questions, you have built a system that falls silent when it matters — and silence when it matters is the most expensive property of all.
FAQ
Isn't observability simply better monitoring? No, it is a different capability. Monitoring answers questions you asked beforehand; observability lets you ask the running system new questions you didn't know before, without changing it. Monitoring is the subset of predefined questions. You need both, but you cannot replace the second with more of the first.
Can't we add observability later? Some of it, yes; the most important part, no. Propagating a correlation identifier across all boundaries and producing events in a structured form are design decisions that live throughout the code; retrofitting them means touching every boundary. That is why observability is architecture and not a later operational step.
Should we record everything to be prepared for any question? No. Recording everything creates cost and cognitive load without guaranteeing understanding — you drown in data. The goal is the minimum signal that preserves the ability to answer arbitrary questions. Observability is "as much as necessary," not "as much as possible."
Which signal do we need first — logs, metrics or traces? That depends on the question, not on a ranking. Metrics show trends cheaply, logs explain the individual case, traces show the path across boundaries. In a single service you can often get by with metrics and structured logs; as soon as operations cross several boundaries, traces become indispensable.
Isn't this a topic for the operations team, not for architects? Operations is the consumer, but the capability is created in the design. An operations team can only observe what the system reveals — and what it reveals is decided by those who build it. That is why observability belongs on the architecture table, not just in the on-call rotation.
Does observability tie us to a particular vendor? Only if you tie yourself to vendor-specific instrumentation. If you keep signal generation and context propagation in your own code and vendor-neutral, the backend remains interchangeable. The capability belongs in the system; the tool that evaluates the signals should be replaceable without touching the system.
Further reading
- Observability as an architectural principle — the concise position behind this document.
- Software that still runs in ten years — why operability determines lifespan.
- Idempotency in distributed systems and Introducing asynchronous processing — distributed operations cannot be traced without propagated context.
- Caching is not a performance feature — a cache you cannot measure is a guess.
It is grounded in the Batunet Engineering Method: design for failure, observability from day one, decide based on the properties of the system.
Closing engineering principle
A system that cannot explain its own behavior is not a finished system but an unfinished one — regardless of how correctly it works in the normal case. Software is not judged on its good days but on its bad ones, and on a bad day the only question that matters is: can it tell you what is happening right now? Observability is the architectural answer to that question. It is not an ingredient you sprinkle on at the end but a property you build in from the start — or simply don't have when you need it most.
You don't operate what you don't understand — you just hope it holds. Observability is the difference between operating and hoping.
Referenced entities
Related topics.
Guides, decisions, services and case studies connected to this page.
Concepts
Architecture decisions
Playbooks
Perspectives
A concrete project in this field?
Reference Guides show how we think. To discuss your system, talk directly to our management.
