GlossaryObservability
Observability
Observability, in AI systems, is the ability to understand what a model or agent did and why, from the data it emits: logs of inputs and outputs, traces of each step and tool call, and metrics such as latency, token use, cost and error rates. It turns an opaque system into one whose behavior can be inspected and improved.
How it works
Observability rests on three kinds of telemetry. Logs record discrete events, such as a prompt sent or a guardrail triggered. Metrics aggregate numbers over time, such as latency, token counts and failure rates. Traces link the steps of one task into one connected record. A trace is made of spans: each span records one unit of work, with a name, start and end time, attributes and a link to its parent. An agent run produces a root span for the task and child spans for each model call, retrieval and tool call. The W3C Trace Context standard carries the trace ID from one service to the next, so a tool on another server adds its spans to the same trace.
OpenTelemetry, an open standard for telemetry, includes semantic conventions for generative AI. They define common names for attributes such as the model requested, the tokens used for input and output and the operation performed, so data from different models and frameworks lands in the same form. Observability also covers quality signals: reviewer corrections, failed checks and outputs flagged by guardrails.
The NIST AI Risk Management Framework treats ongoing monitoring of deployed AI systems as part of managing their risk.
Observability vs monitoring
Monitoring watches known signals and alerts when they cross a threshold, such as error rate above a limit. Observability is the broader ability to ask new questions of the data after something unexpected happens. Monitoring reports that something broke, and observability data shows why.
Why it matters
AI systems fail in ways that do not throw errors: a correct-looking answer built on the wrong document, an agent that takes many more steps than the task needs, a model version change that shifted output format. An error in an early step surfaces as a wrong answer at the end. Without traces, finding the faulty step means guessing. With them, the step is visible.
How to get it right
- Trace every agent run end to end under one ID, and keep every trace that ends in an error.
- Log prompts, retrieved documents, tool calls and outputs, with redaction for sensitive data.
- Record model name, version and settings on every call.
- Track latency, token use and cost per task, not only per call.
- Capture reviewer corrections and feed them into testing.
- Use open conventions so data from different tools lines up.
Observability in robotics and drone hardware
Hardware teams already rely on telemetry: flight logs, test station data and machine logs on a production line. AI observability brings the same discipline to the software that reads designs and production data, so an answer about a part, a defect or a test result traces back to the inputs and steps that produced it. When an assistant flags a footprint mismatch on a BOM line, the trace shows which datasheet revision it retrieved, which tool it ran and what came back.