Tracing and Observability for AI Systems › Investigating Observed Requests
Language AI HandbookAll chapters The synthetic request now has a useful record of which stages ran, how long they took, and what their versions were. A trace can identify a plausible source of delay or a candidate change to investigate. Establishing why a model made a particular error still takes controlled comparison or other evidence.
For an incident, a trace can support an investigation, and the shared identifiers can help find independent audit records. Export policy should minimize the data collected and apply the same protections to exporters, retries, queues, and backups. OpenTelemetry guidance on sensitive telemetry
Use clock-quality metadata when timestamps come from different hosts. A streaming operation can add a first-token event so you can measure time to first token separately from time to completion. Queue or batch processing can link related work even when it belongs to another trace. If a required span is missing, record the gap rather than filling it with an assumed time or cause.
During an investigation, check whether the retained data identifies the affected stage, measures its timing and estimated cost, and reaches responders while they still have access. Record which questions the available data cannot answer. Those gaps help you decide what to instrument or test next.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!