# Observability

> Observability is the ability to see what a live system is doing and why, through logs, traces and metrics, so that errors, slow responses, rising costs and poor AI outputs can be found and explained.

Also called: monitoring, AI observability, LLM monitoring, tracing, logging. Category: Delivery and quality. Source: https://aibuildindex.com/glossary/observability

## In the index

- Custom AI agent: median $3,850, middle half $600 to $10,000, 2,831 priced briefs (https://aibuildindex.com/cost/custom-ai-agent)
- Customer support chatbot: median $2,000, middle half $300 to $5,300, 1,344 priced briefs (https://aibuildindex.com/cost/support-chatbot)

Once an AI system is live, the people responsible for it need to know what it is doing. Observability is that visibility. For ordinary software it means tracking errors and response times. For AI systems it also means recording the prompts sent, the outputs returned, the tools an agent called, how many tokens each request used and how users reacted. Without it, a buyer learns about problems from customer complaints instead of dashboards.

## How it works

Observability rests on three kinds of record:

- **Logs** are timestamped records of events: a request arrived, a call failed, a document was processed.
- **Traces** follow one request through every step. For an agent, a trace shows each model call, each tool used and how long each took, which makes it possible to see where a wrong answer came from.
- **Metrics** are counts and averages over time: requests per hour, error rate, average response time, cost per day.

AI systems add some measures of their own: token use per request, the share of answers users mark as unhelpful, how often a guardrail blocked an output, and samples of outputs scored against [evals](https://aibuildindex.com/glossary/evals). Watching these over time is how teams catch [model drift](https://aibuildindex.com/glossary/model-drift), and how they notice when a provider's model update changes behaviour.

Observability is a core part of [LLMOps](https://aibuildindex.com/glossary/llmops) and of [production readiness](https://aibuildindex.com/glossary/production-readiness).

## What it means for cost

Proper observability adds build time and often a monthly fee for a logging or tracing service. It also saves money in two ways. It makes problems faster to diagnose, which lowers the cost of [error handling](https://aibuildindex.com/glossary/error-handling) and support. And it shows where [running costs](https://aibuildindex.com/glossary/running-costs) come from, so wasteful requests can be fixed.

There is a privacy side. Logging full prompts and outputs may store personal data, which then needs the same care as any other copy of that data. A good build decides what to log, what to mask and how long to keep it.

Ask a builder:

- What will we be able to see about each request after launch?
- Will we get alerts when errors or costs rise?
- Where are logs stored, who can see them and for how long?

## Common questions

### Is observability the same as monitoring?

They overlap. Monitoring usually means watching known signals and alerting when they cross a limit. Observability is broader: recording enough detail to investigate problems nobody predicted. For AI systems, both are needed because failures are often unexpected.

### Do small automations need observability?

A simple workflow still needs basic visibility: a record of each run and an alert when one fails. Many automation platforms provide this. More detailed tracing matters most for agents and customer-facing assistants.

### Does logging AI conversations raise privacy issues?

It can. Conversations may contain personal or sensitive information. Decide which fields to mask, who has access and how long logs are kept, and check the rules that apply to your data; this is not legal advice.

## Related terms

- [LLMOps](https://aibuildindex.com/glossary/llmops): LLMOps is the set of practices for running applications built on large language models in production, covering prompt versioning, evaluation, monitoring, cost control, model updates and safety checks after launch.
- [Model drift](https://aibuildindex.com/glossary/model-drift): Model drift is the gradual decline in an AI system's accuracy after launch, caused by real-world data, user behaviour or the underlying model changing away from the conditions the system was built and tested on.
- [Evals (AI evaluation)](https://aibuildindex.com/glossary/evals): Evals are structured tests that measure how well an AI system performs on a fixed set of realistic inputs, scoring its outputs so that changes to prompts, models or data can be judged by evidence rather than impression.
- [Error handling and retries](https://aibuildindex.com/glossary/error-handling): Error handling and retries are the parts of an automation or AI system that detect failed steps, try them again where that is safe, and report or park the work that still fails, so problems are noticed rather than silently lost.
- [Running costs](https://aibuildindex.com/glossary/running-costs): Running costs are the ongoing charges of keeping an AI or automation system working after launch, such as model usage, platform subscriptions, hosting, telephony or messaging fees, monitoring and routine support.
- [Production readiness](https://aibuildindex.com/glossary/production-readiness): Production readiness is the state of a system being safe and reliable enough for real users and real data, covering security, error handling, monitoring, testing, performance and support, not just working in a demo.
