OpenTelemetry documentation
Primary observability guidance for tracing distributed operations and connecting latency and failure evidence across components.
Compute College
Instrument agent trajectories so teams can explain decisions, failures, latency, and cost.
Agent observability means keeping enough of a run to explain what the system saw, decided, called, returned, and why it stopped. Evaluation uses that record to check the task result, safety, reliability, and cost without putting sensitive data into every log.
Memory trick: Observe the trajectory; protect the content.
A final answer rarely explains why an agent failed. Trace-level evidence reveals repeated searches, bad arguments, stale context, permission denials, and expensive paths. Without it, teams cannot improve or price the system reliably.
For every task, the system records a redacted trace ID, model version, prompt version, tool names and durations, token counts, approval events, stop reason, final outcome, and cost estimate. Sensitive document contents are not copied into general logs.
Example figures are illustrative calculations, not current quoted market prices.
Current example
This source explains the method or risk boundary. It does not replace testing the actual model, data, provider, and workload conditions in production.
Primary observability guidance for tracing distributed operations and connecting latency and failure evidence across components.
Source discipline: examples on this page are illustrative; measure the real workload before making a release or capacity decision.
Logging every prompt and tool result creates risk without a data policy. Useful traces need correlation and metrics, but sensitive content must be minimized, protected, or redacted.
Practical takeaway
Define a trace schema with IDs, versions, timings, calls, budgets, outcomes, and redaction rules. Build dashboards for cost per accepted task, trajectory length, p95 latency, and safety escalations.
Decision check: can an operator explain a failed or expensive task without exposing more user data than necessary?
Compute College learning path
Step 36 of 48: Agent observability and evaluation