Building for Observability: What Most Teams Get Wrong
The difference between monitoring and observability is not semantic. Monitoring tells you when something is broken in a way you anticipated. Observability tells you why something is broken in a way you did not anticipate. Most production systems are monitored. Very few are observable. The gap becomes apparent in the first major incident — the one where your dashboards are all green and your users are still reporting failures.
What monitoring gets you
Monitoring gives you dashboards showing known metrics: CPU utilisation, memory pressure, error rate, p95 latency. It gives you alerts that fire when those metrics cross thresholds you configured. This is valuable, necessary, and not sufficient.
The problem is that monitoring only covers failure modes you thought to instrument in advance. When you set up your CloudWatch alarms eighteen months ago, you made a bet about how your system would fail. The most expensive incidents are the ones that do not match that bet — the subtle data corruption, the cascading timeout that starts in a downstream dependency, the edge case in your business logic that only surfaces under a specific combination of user actions and time zones.
Monitoring answers the question: “Is anything on fire?” Observability answers the question: “Why is this particular user experiencing a 30-second checkout timeout on Tuesday afternoons?”
What observability means in practice
Observability is built on three pillars, and you need all three.
Logs capture what happened. They are the narrative record of your system’s behaviour — individual events with context attached. Logs are most useful for investigating specific incidents after the fact.
Metrics capture how the system behaved over time. They are aggregations — counts, rates, distributions — that reveal patterns, trends, and anomalies. Metrics are most useful for alerting and for understanding system-level behaviour.
Distributed traces show how a request moved through the system. In a multi-service architecture, a single user action may touch eight services. A trace ties all of those together under one request ID, so you can see exactly where time was spent and where errors originated.
The combination of all three lets you investigate arbitrary questions about system behaviour — not just the questions you thought to ask when you wrote the alert.
The most common gaps
Unstructured logs. Plain text log lines are not queryable at scale. Consider the difference between these two log entries:
User 12345 checked out successfully
and
{"event": "checkout_complete", "user_id": "12345", "order_id": "ord_789", "amount_gbp": 42.50, "duration_ms": 340, "payment_provider": "stripe"}
The second is queryable, aggregatable, and alertable. You can ask: “Show me all checkouts over £100 that took more than 500ms in the last hour.” The first is a string. At 3am during an incident, the difference matters enormously.
No correlation IDs. Without a request ID that is generated at the entry point and propagated through every service call, database query, and queue message, tracing a user’s journey through a distributed system requires manually correlating timestamps across log streams. This is slow under pressure and error-prone. A correlation ID costs almost nothing to implement and saves hours in every serious incident.
Missing business-level metrics. Most teams instrument their infrastructure well — CPU, memory, database connections, cache hit rates. Fewer teams instrument their business outcomes — orders placed per minute, checkout completion rate, search result click-through, API calls that return empty results. Infrastructure metrics can be entirely green while the business is on fire. If your payment service is processing 40% fewer transactions than normal, you want an alert, not a discovery.
Alerting on infrastructure rather than user impact. A 5% error rate across your entire API may be acceptable background noise. A 1% error rate on the payment endpoint is a business-critical incident. Alert on what matters to users, at the granularity that reflects actual impact. Broad error rate thresholds miss targeted failures; low thresholds on critical paths catch them immediately.
Distributed tracing on AWS
For teams running on AWS, the two practical options are AWS X-Ray and OpenTelemetry with CloudWatch. X-Ray is lower-friction if you are already AWS-native; OpenTelemetry is the better choice if you want vendor-neutral instrumentation or plan to move tooling later.
The key to useful distributed traces is instrumentation at the boundary of every external call: database queries, HTTP calls to downstream services, messages published to SQS or SNS, cache reads and writes. You do not need to trace every line of code — tracing at the call boundaries gives you the data to reconstruct what happened. Everything else can be inferred.
The on-call test
Here is a useful test for whether your system is genuinely observable: take an engineer who has never seen the codebase, give them access to your logging and monitoring tooling, and ask them to diagnose a production incident in under 30 minutes.
If they can do it, your system is observable. If they spend most of their time asking questions of the engineers who built the service, reading source code to understand what a log message means, or manually correlating events across multiple log streams — you have monitoring, not observability.
The test is harsh, but production incidents are not kind. The failure mode of poor observability is not inconvenience — it is hours of downtime that better tooling would have turned into minutes.
When to invest
Observability is significantly easier to build in than to retrofit. A log format decision made early propagates automatically across the codebase. The same decision made after two years of inconsistent logging requires a migration across every service.
The tooling cost is low. Structured logging, a correlation ID, and CloudWatch metrics with the right dimensions are available to any team running on AWS at near-zero cost. The investment is in discipline and consistency: agreeing on log field names, ensuring correlation IDs are generated and propagated correctly, and defining which business metrics matter enough to alert on.
The teams we work with that have invested in this early typically resolve production incidents in under 30 minutes. The teams that have not typically spend three to four hours per significant incident. That difference, across a year of incidents, represents a significant amount of engineering time that could be spent on other things — and a significant difference in customer experience during the incidents themselves.
Build it in now. You will be grateful for it at 2am.
Cloudomation helps engineering teams adopt AI development tools with the discipline and guardrails to make the results sustainable.
Book a free Assessment →