4 — Observability-Driven Development
The name is a deliberate echo of test-driven development, and the analogy is meant to be taken literally, not just as branding. TDD says write the test before the code. Observability-driven development says define what “working correctly” measurably means, and what telemetry would prove it, before the feature ships — not “we’ll add monitoring once it’s live,” which is the exact same anti-pattern as “we’ll add tests later” wearing a different label.
What actually shifts left
- SLI/SLO definition moves into the design doc. A new service or major feature’s design should state what “working correctly” means in measurable terms — see 2 — SLOs & Error Budgets — before implementation starts, rather than being reverse-engineered later from whatever metrics happened to get added along the way.
- Instrumentation becomes part of “done.” The same way test coverage is often a merge requirement, “can we tell whether this is working correctly in production” is a legitimate acceptance criterion a feature can fail — not a nice-to-have bolted on after the fact.
- Failure modes get instrumented deliberately, before they’re needed. 1 — What Observability Actually Means frames monitoring as covering known unknowns and observability as being equipped for unknown unknowns. ODD is the design-time practice of deliberately converting as many plausible failure modes as possible from “unknown unknown we’ll discover during an incident” into “known unknown, instrumented from day one” — while accepting that some genuinely novel failure will always remain in the unknown-unknown category no matter how much gets shifted left.
Retrofitting instrumentation after an incident is the worst possible timing
The cost of skipping this isn’t abstract: the exact telemetry that would explain an incident is usually the telemetry that didn’t exist when the incident happened, discovered only in the post-mortem’s “what should we add so this doesn’t happen again” section — which is 1 — What Observability Actually Means‘s practical test failing in the most expensive way it can fail, at exactly the moment understanding mattered most.
The mechanism that actually makes this stick: a launch gate, not a guideline
A design principle that only lives as advice gets skipped under deadline pressure, for the same reason 5 — Label & Attribute Schema Design discipline needs a governance backstop rather than a style guide nobody reads under a deadline. What operationalizes observability-driven development in practice is a Production Readiness Review (PRR) — a checklist gate that explicitly blocks launch until SLOs are defined and the instrumentation to evaluate them actually exists, the same way a CI gate blocks a merge without passing tests. See PRR Template for what that gate looks like as an actual, enforced checklist rather than an aspiration.
Why this matters for an Observability Architect
“We’ll instrument it once we see how it behaves in production” sounds pragmatic and is exactly backwards — it guarantees the system is least observable during the period right after launch, when unexpected behavior is most likely and most costly to have blind. Treating instrumentation and SLO definition as launch-blocking, the same way a broken test suite is, is what actually gets this done before the deadline pressure that would otherwise skip it.
Metadata
| Dimension | Detail |
|---|---|
| Author | Amit Singh |
| Scope | observability |
Local graph
Linked from 2 notes
1 — Building a Platform Team
A platform team's product is other teams' ability to self-serve reliable telemetry — team topology, the paved road that makes everything earlier in this book the default instead of a manual step, and the ticket-queue failure mode to watch for.
Observability Engineering
A book-shaped table of contents for observability engineering: foundations through architecture, metrics, logging, tracing, profiling, OpenTelemetry, instrumentation, Kubernetes/cloud, data platforms, visualization, alerting, SRE integration, cost, security, platform engineering, AI-driven operations, and MAANG interview preparation — cross-linking existing prometheus/grafana-cloud/kubernetes/sre/platform-engineering notes instead of duplicating them.
Related notes
1 — AIOps / Agentic RCA
What's actually new versus a static runbook — an investigation loop, not a fixed trigger-action mapping — why it depends on everything earlier in this book already being solid, and the read-vs-write safety line most real deployments draw.
5 — Continuous Profiling
What makes always-on, sampling-based profiling cheap enough to run in production continuously, why it earns that cost mainly for hot or expensive services, and how a profile correlates back to the one trace that was running during the sample.
2 — Root Cause Analysis
Covers automated root-cause analysis as an investigation loop over existing telemetry, not a fixed trigger-action mapping.
3 — Anomaly Detection
Covers statistical and ML-based anomaly detection on time series, and its false-positive tradeoff against static thresholds.