Observability-driven development (ODD) is the practice of designing and writing code so that you can see how it behaves in production, and using that evidence to decide what to build, release and fix next. Instead of adding dashboards after a failure, the team decides up front which questions it must be able to answer and instruments the code to answer them.
For a CTO or platform lead, the point is simple: ODD turns production behaviour into an input to development, not an afterthought for operations. It sits alongside the wider ideas in what is observability and observability vs monitoring, and this guide focuses on the developer-side habit.
OpenTelemetry's primer says observability lets you understand a system from the outside, without knowing its inner workings, and that it helps you ask "Why is this happening?" (OpenTelemetry observability primer). Monitoring watches for conditions you already expect. Observability helps with problems you did not anticipate, which the same primer calls "unknown unknowns".
Test-driven development (TDD) asks "does this code do what I specified?" before release. ODD asks "what is this code doing for real users now?" after release, and feeds the answer back into the next change. Charity Majors of Honeycomb has argued that developers should go beyond TDD and follow observability-driven development (see Honeycomb's summary of her article). Treat it as an addition, not a replacement: you still need unit tests and performance testing.
| Practice | Question it answers | When it runs | Where it falls short |
|---|---|---|---|
| Test-driven development | Does the code meet the specification? | Before release | Cannot cover every real production condition |
| Monitoring | Is a known condition breached? | In production, against set thresholds | Only catches what you thought to watch |
| Observability-driven development | What is the system doing, and why? | Design, release and production | Needs instrumentation discipline and an owner |
The OpenTelemetry documentation describes telemetry as data emitted from a system and its behaviour, delivered as traces, metrics and logs. Its signals page lists traces, metrics, logs and baggage as the currently supported signals, with profiles still under development (OpenTelemetry signals). Confirm the current status on that page before you standardise.
Per OpenTelemetry, metrics are aggregations over a period of time of numeric data about your infrastructure or application. Use them for rates, error counts and latency distributions, and for alerting on service level objectives.
A log is a timestamped message emitted by a service or component. Logs hold the detail of a single event, so they are where you look once a metric or trace has told you where to dig. Their volume is the main cost and noise problem.
Distributed tracing lets you observe requests as they propagate through complex, distributed systems, and it is especially useful for problems that are hard to reproduce locally. A span is a single unit of work and carries a name, timing data and attributes. Traces are often the hardest signal to add to an existing system, so build them in from the start.
The sequence below works for most engineering teams. It follows the OpenTelemetry guidance that code can be instrumented either with zero-code tooling or with the official APIs and SDKs, and that both can be used together (OpenTelemetry instrumentation).
A well-instrumented application, in OpenTelemetry's words, is one where developers do not need to add more instrumentation to troubleshoot an issue, because they already have the information they need.
| Area | What you gain | What to govern |
|---|---|---|
| Delivery | Faster diagnosis of unexpected failures, because the evidence already exists | Time to add instrumentation to each change |
| Ownership | Developers see how their code behaves for users | Clear owner for telemetry quality |
| Security and compliance | A record of what services did, which supports audit | Keep personal data and secrets out of logs and span attributes |
| Cost | Better decisions on what to keep and sample | Storage and ingest volume, retention periods, high-cardinality attributes |
Build the business case from your own numbers: measure incident detection and recovery time before and after you add instrumentation, rather than relying on industry-wide claims.
Agents make ODD more useful, because their behaviour varies between runs and tests alone cannot cover it. OpenTelemetry maintains GenAI semantic conventions, and the docs now point to a separate repository for them, so check that repository for current status before relying on any attribute names. Trace each model call, tool call and decision so a reviewer can reconstruct what an agent did and why. For example, AgentEvaluation is described on its own site as a tool for testing enterprise AI agents against real workflows before and after they go live. ElixirClaw is described on its site as letting teams set rules for what agents can do and keep a log of each decision.
For wider reading, see full-stack observability, cloud native observability tools and data observability.
To map one decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
It is the practice of instrumenting code during design so that production behaviour can be understood, and using that evidence to guide later development.
No. Monitoring still watches known conditions and tests still check specifications. ODD adds the ability to investigate problems you did not predict.
Its signals page lists traces, metrics, logs and baggage as supported, with profiles under development. Check the page for current status.
The OpenTelemetry docs say you can use both together. Zero-code is a good start, and code-based instrumentation gives deeper insight into your own logic.
Decide what to sample, set retention, avoid unbounded attributes, and keep sensitive data out of telemetry.