Observability and Monitoring in Production
An AI feature can fail while every server light stays green: the answers get worse, cost drifts up or one customer segment suffers. Finding that before customers do takes request traces, a few quality signals sampled from live traffic, user feedback wired to the backlog, and a clear rule for which signals wake someone up.
After this chapter you can
- Explain why normal latency and error rates can hide a feature whose answers are getting worse.
- List the fields a request trace should carry, starting with the bundle identifier, and the privacy decisions trace storage needs.
- Combine four quality signals, sampled scores, behavioral proxies, explicit feedback and guard counters, noting the blind spot of each.
- Separate drift into input, content, model and metric sources, and find which one moved using traces and a reference set.
- Split signals into page-now and backlog, setting thresholds from day-to-day variation and giving each a named owner.
In the late summer of 2025, Anthropic users began reporting that Claude’s answers had gotten worse. The company’s own post-mortem, published in September, traced the reports to three separate infrastructure bugs that overlapped in time. In one, some Sonnet 4 requests were sent to servers set up for a different configuration; the share of affected requests started at 0.8 percent and, after a load-balancing change on 29 August, peaked at 16 percent in the worst hour on 31 August1. The company’s own account says its benchmarks did not capture the degradation users reported.
The case belongs here because of what it says about monitoring. A team with evaluations took until late August to open an investigation into reports that began in early August. The post says the first reports were hard to tell apart from normal variation in user feedback. Your question as a manager is the plain one: what do we monitor so we find AI problems before customers do? This chapter gives a layered answer, and a rule for deciding which signals page a person and which go to the backlog.
Why a green dashboard proves little
Conventional monitoring watches whether the service is up, how fast it answers and how often it errors. An AI feature can pass all three while it fails at its job. The reasons are built into the technology: the output varies, quality is a matter of degree, and the inputs shift as users and content change. A wrong answer is a successful request.
Level 1 made the executive point that monitoring should cover the controls as well as the system. At the engineering level, this means three layers of signal, each with a different job.
Traces: what to record for every request
You cannot investigate what you did not record. A trace is the record of one request from input to output, with the steps in between. For an AI feature, the useful fields go past the usual ones. The OpenTelemetry project, the open standard for telemetry, maintains conventions for tracing generative AI calls, covering spans, metrics and events, so the team need not invent its own vocabulary2.
Ask that each trace carry:
- a request ID and a user or conversation ID that is pseudonymous;
- the release bundle identifier from the previous chapter: model, prompt, index and settings versions;
- the retrieved passages or their IDs, and the tools called with their arguments and results;
- time and token counts at each step, so cost per finished task is computable;
- the output, a flag for any guard that fired, and whether the system declined or handed over to a person;
- later events linked to the same ID, such as a rating, a regeneration, an edit or a complaint.
The bundle identifier is the one that rescues you. When quality dips, the first question is what changed, and the answer is only available if every request says which model, prompt and index it ran on.
Recording everything has a price. Prompts and outputs can contain personal data and confidential material, and a trace store becomes a second copy of your customers’ information. Decide, with your privacy contact, what is stored in full, what is redacted, who can read it, and how long it lives. The Anthropic post-mortem shows the other edge: the company said its internal privacy and security controls limited engineers’ access to user interactions, which made some bugs harder to reproduce. Neither extreme is free. The workable middle is a trace design that keeps what you need for diagnosis, redacts at write time and gives engineers a controlled, logged way to look at a sample when they need to.
Four kinds of quality signal
No single number tells you the feature is good. Teams use four sources, and each has a blind spot.
Sampled automated scores. Take a fixed share of live requests, say 2 percent, and score them with the same judge and rubric the evaluation pipeline uses, as the earlier chapter on automated evaluation describes. This is the closest live analogue of your release gate. Its blind spot is the judge: it only measures what the rubric asks about, so recalibrate it against human grades on a regular schedule. Research on model judges cuts both ways: one study found a strong judge reached over 80 percent agreement with human preferences, and the same authors list position, verbosity and self-enhancement biases and limited reasoning ability3.
Behavioral proxies. Users vote with actions: they regenerate, edit the output, copy it, abandon, or call a person. A rising share of users rewriting the draft is a quality signal with no rating needed. The blind spot is ambiguity, since an edit can be a preference, not a fix. Watch the trend, not the level.
Explicit feedback. Thumbs, comments and support tickets. Feedback is sparse and skewed toward unhappy users, so it cannot estimate overall quality, but it is the best source of new failure types. In the Anthropic case, the company says user reports prompted its investigation, and it now asks users to report through feedback buttons and a bug command1.
Guard and rule counters. Counts of refusals, format failures, tool errors, safety-filter hits, retrieval with no results and handovers. These are cheap, immediate and easy to alert on. Their blind spot is the opposite of the judge’s: they see only the failures you thought to count.
Anthropic’s own account is an instructive reminder about blind spots. It said its standard checks and benchmarks did not capture the degradation users reported, that one bug was hard to see in evaluations because the model recovers well from isolated mistakes, and that it would run quality evaluations continuously on production systems1. Scope that carefully: it is one company describing three bugs in its own infrastructure, not a finding about all providers or all systems. The lesson that generalizes is modest and useful: pre-release evaluations do not replace evaluations of the live system.
Drift: slow change that no one decided
Drift is a change in the feature’s results without a deliberate release. It has four common sources, and the trace data should let you tell them apart.
- Input drift. Users start asking different things, in a new language, at a different length, about a new product.
- Content drift. The documents behind retrieval change, go stale or are rewritten, so the same question retrieves different passages.
- Model drift. The provider updates a model behind an alias, or its infrastructure shifts, as happened in the case above. Pinned versions guard against the first of these, not the second.
- Metric drift. The judge, the rubric or the sampling changes, and the score moves for reasons unrelated to quality.
Detection is straightforward in principle. Keep a fixed reference set of cases, run it on a schedule against production, and compare it with the last run and with the release baseline. For input drift, compare the mix of request types, input length and language by week. For content drift, track the age of retrieved passages and the share of questions that retrieve nothing. When a drift signal moves, the question is the same each time: what changed? The bundle identifier and the date of the last index refresh answer most of it.
Which signals page a person, and which feed the backlog
Not every signal deserves a night-time phone call. Over-alerting can train people to ignore the pager, and under-alerting leaves a slow burn like the one in the case below to run until users complain. A usable rule has two tiers.
Page now when the harm is immediate, severe or fast-growing: the service is down, error rate is far above normal, a safety or privacy event is confirmed, cost is burning at several times the budget, or a sampled quality score falls below the agreed floor for a defined window. Each page has an owner and a first action in a runbook.
Backlog when the signal is a trend that someone should look at this week and no one is hurt tonight: slow drift, rising edit rate, themes in feedback, new failure types, stale sources. These go to a named owner with a weekly review, and the review decides whether an item becomes an evaluation case, a prompt change or an incident.
The thresholds in a table like this are only as good as their noise estimate. A quality score from 240 samples a day has a sampling margin of a few points, so a floor placed one point under the release gate will fire on chance. Ask engineers to state the day-to-day variation of each signal, and set the page level several standard errors from the normal value.
Case: three bugs, one pattern of reports
The September 2025 post-mortem is a rare public record of a quality incident from the inside. It describes three overlapping bugs1. A routing error sent some Sonnet 4 requests to the wrong servers, starting at 0.8 percent of requests on 5 August, rising on 29 August after a load-balancing change and reaching 16 percent in the worst hour on 31 August; the company estimated that about 30 percent of Claude Code users who made requests in the period had at least one message routed wrongly. Routing was sticky, so a user routed to the wrong server type was likely to stay there for follow-up messages. A misconfiguration on the company’s TPU servers corrupted output between 25 August and 2 September, producing, for example, unexpected characters in English or errors in code. And a compiler bug in a token-selection step affected some models from 25 August, with rollbacks on 4 and 12 September. The TPU change was rolled back on 2 September and the routing fix landed on 4 September.
Three observations for a manager. The reports came in a form that did not point to one cause: different symptoms on different platforms. Tracing that splits reports by model, platform and configuration is the kind of tool that could narrow such a search; the post does not say it would have shortened this one, but it is the reason the bundle identifier above matters. The company also wrote that when negative reports spiked on 29 August it did not immediately connect them to a standard load-balancing change, which shows why a change log matters for the “what changed” question. And the response was to add continuous live evaluation, which is the quality layer above. The account is silent on how representative this detection gap is for other organizations. It shows what the gap looks like when it happens to a team that takes evaluation seriously.
A team-sized worked example
The team and figures below are made up, an illustration assembled from common patterns and not a report of a real deployment. A team of nine runs a policy assistant for 12,000 employee questions a day. The release gate was 90 percent correct. The lead sets up monitoring in three steps.
Traces. Every request logs the bundle identifier, retrieved passage IDs, token counts per step and the outcome. Prompts are stored with names and email addresses redacted at write time, kept 30 days, and readable by four named engineers, each read logged.
Signals. The judge scores 2 percent of requests, which is 240 answers a day. Around 3 percent of users rate an answer, about 360 ratings. The team tracks the answer-declined rate, retrieval-with-no-results rate, average cost per answer, and the age of passages used. A reference set of 150 questions is run every night.
Rules. For quality, the page rule is a rolling-day score under 85 percent. The lead checks the arithmetic: at a true quality of 90 percent, 240 samples give a standard error of about 1.9 points, so 85 is about 2.6 standard errors below and should fire on chance rarely. At a true quality of 87 percent the page would fire on only about one day in five, so a second, backlog rule catches a slow decline: 3 days in a row below 88 percent opens a ticket. The nightly reference set pages if it falls below the release gate of 90 by more than 3 points.
In week 5 the backlog rule fires. Quality sits at 87 for three days. The traces show the bundle unchanged, but the share of retrievals returning a policy more than 60 days old has risen from 4 to 19 percent, because the team’s investigation finds that a nightly index refresh job has been failing silently. No page, no incident: the owner of the index fixes the job on Tuesday, and the reference set returns to 91 by Wednesday.
What this means for engineering managers
Monday action
Monday: ask the team to show one real trace for a bad answer, then fill in this sheet for the feature.
Monitoring sheet (thresholds are starting values to replace with your own)
Trace fields present: bundle id | sources | tool calls | tokens/cost | outcome | feedback link
Judged share of live traffic: ___ % Judge last checked against humans: ____
Day-to-day variation of the quality score: ___ points
PAGE NOW: ____ (owner ____, first action in runbook ____)
BACKLOG: ____ (weekly reviewer ____)
Logged / redacted / kept for / readable by: ____
Check yourself
- If latency and error rate are normal, the AI feature is working.
- Logging the version of the model, prompt and index on every request helps diagnose a quality dip.
- User thumbs-down counts are a reliable estimate of overall quality.
- Passing evaluations before release makes continuous evaluation of the live system unnecessary.
- Every monitored signal should page someone when it moves.
- Prompts and outputs stored for monitoring can contain personal data and fall under data protection rules.
Reflection
What comes next
Monitoring tells you something is wrong. The next chapter, AI Incident Response for Engineering Teams, covers what the team does in the first hour: how to detect, contain, communicate and review, and which notification clocks the law starts.
Laws referenced
Not legal advice. Laws change; verify before relying on this, and consult counsel for decisions.
EU AI Act · EU
Regulation (EU) 2024/1689, as amended by Regulation (EU) 2026/1744
Risk-based rules. Prohibited practices include social scoring, untargeted scraping of facial images, and emotion recognition in workplaces and schools (with narrow exceptions). High-risk systems (Annex III: biometrics, safety components of critical infrastructure such as energy, water and traffic, employment and worker management, credit, education, essential services, law enforcement, migration, justice) need risk management, data governance, documentation, logging, human oversight, human oversight that keeps people able to understand the system, notice automation bias (over-reliance on its output), override it or stop it (Art. 14(4)), appropriate accuracy, robustness and cybersecurity (Art. 15), automatic logging of events (Art. 12), a provider quality-management system (Art. 17) and conformity assessment. An Annex III system is not high-risk if it poses no significant risk of harm, for example a narrow procedural or preparatory task that does not replace human assessment; systems that profile people are always high-risk, and a provider relying on this exception must document it and register (Art. 6(3)). Deployers of high-risk AI must use it as instructed, assign competent human oversight, monitor its operation, keep logs for at least six months and report serious incidents (Art. 26); employers must inform workers' representatives (Art. 26(7)). Public bodies, private providers of public services, and deployers of credit-scoring or life and health insurance pricing systems must carry out a fundamental-rights impact assessment before first use (Art. 27). Providers must run post-market monitoring (Art. 72). A deployer that puts its name on a high-risk system, substantially modifies it, or changes its purpose so that it becomes high-risk takes on the provider's obligations (Art. 25(1)). A substantial modification (Art. 3(23)) of a high-risk system needs a new conformity assessment, unless the change was pre-determined and documented at the first assessment, as with planned continuous learning (Art. 43(4)). Providers of general-purpose AI models (from 2 Aug 2025) must keep technical documentation, have a policy to comply with EU copyright law including text-and-data-mining opt-outs, and publish a sufficiently detailed summary of training content (Art. 53). Research, testing and development before a system is placed on the market or put into service is outside the Act, except testing in real-world conditions (Art. 2(8)). Since the 2026 Omnibus, the Art. 4 AI-literacy duty is an obligation of effort (take measures to support literacy), not of result. Fines reach EUR 35 million or 7% of global turnover for prohibited practices.
- 2024-08-01 — Entered into force
- 2025-02-02 — Prohibited practices (Art. 5) and the AI-literacy duty (Art. 4) apply
- 2026-07-27 — Omnibus softens Art. 4: providers and deployers must take measures to support AI literacy; no specific level must be guaranteed
- 2025-08-02 — General-purpose AI model obligations apply; governance and penalties regime in place
- 2026-08-02 — Transparency duties (Art. 50) apply: disclose AI interaction, label synthetic and deepfake content (marking for generative systems already on the market: 2 Dec 2026)
- 2027-12-02 — High-risk obligations for Annex III systems (e.g. hiring, credit, education, essential services) - moved from 2 Aug 2026 by the 2026 Omnibus
- 2028-08-02 — High-risk obligations for AI in products regulated under Annex I
Last verified 2026-10-06 · official text
General Data Protection Regulation · EU
Regulation (EU) 2016/679
Personal data is any information relating to an identified or identifiable person, directly or indirectly, including by an identifier such as an online ID (Art. 4(1)). Lawful basis and purpose limitation (Arts. 5-6); processing special-category data, including biometric data used to identify a person, health data and data revealing ethnicity, is prohibited unless a specific exception applies (Art. 9); data protection by design and by default (Art. 25); processors such as AI vendors may act only under a written contract with required terms and sufficient guarantees (Art. 28); transparency to data subjects (Arts. 13-14); right not to be subject to a decision based solely on automated processing with legal or similarly significant effects (Art. 22); breach notification to the supervisory authority within 72 hours (Art. 33) and to individuals without undue delay when the risk is high (Art. 34); data protection impact assessment for high-risk processing (Art. 35). Fines up to EUR 20 million or 4% of global turnover.
- 2018-05-25 — Applies
Last verified 2026-10-08 · official text
References
- Anthropic. A postmortem of three recent issues. Anthropic Engineering blog. 2025.
- OpenTelemetry. Semantic conventions for generative AI systems. OpenTelemetry project. 2026.
- UC Berkeley and LMSYS. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. arXiv / NeurIPS 2023 Datasets and Benchmarks. 2023.
Further reading
- National Institute of Standards and Technology. Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1. NIST. 2023.
- OpenTelemetry. Semantic conventions for generative AI systems. OpenTelemetry project. 2026.
Sources last verified 2026-10-12.