Requests & Exceptions

Two views under Observations that sit alongside Tracing.

  • Requests — a flat, call-level list. Best for scanning many calls quickly.
  • Exceptions — errors only. Best for triage.

Tracing shows structure; these two show volume and failures.


Requests

Route: Observations → Requests (/observations/requests)

Every LLM request as a row, without the trace hierarchy.

Requests list

Typical columns: time, application, environment, model, provider, prompt/completion/total tokens, duration, cost, status.

When to use Requests over Tracing

Question View
"What did this one request actually do, step by step?" Tracing
"Which calls this hour were slowest?" Requests
"Show me every gpt-4o call over 5 s" Requests
"Why did this agent take 40 seconds?" Tracing
"What's the token distribution across my calls?" Requests

Requests is a table you sort and scan. Tracing is a tree you read.

Request detail

Click a row for the full record of one call.

Request detail

Contents:

Section Shows
Metadata Time, application, environment, model, provider
Prompt Messages sent, by role, with a JSON viewer for structured content
Completion The model's response
Tokens & cost Prompt / completion / total, and computed cost
Parameters Temperature, max tokens, top-p, and other request settings
Timing Duration; time-to-first-token and time-between-tokens for streamed responses
Trace link Jump to the full trace this request belongs to

Streaming metrics are worth knowing about: TTFT (time to first token) is what your user perceives as responsiveness, while total duration is what your backend pays for. A slow TTFT with fast total duration means the model is thinking before it speaks — often a prompt-structure problem.


Exceptions

Route: Observations → Exceptions (/observations/exceptions)

Every recorded error, most recent first.

Exceptions list

Columns cover time, exception type, message, application, environment, and the originating span.

Exception detail

Exception detail

Section Shows
Type & message The exception class and its message
Stack trace Full traceback where the SDK captured one
Context Application, environment, model, and the span it occurred on
Trace link Open the full trace to see what led up to it

Common exceptions and what they mean

Exception Likely cause Fix
RateLimitError Provider throttling you Back off and retry; request a quota increase; spread load
AuthenticationError Bad or expired provider key Rotate the key; if it's in the Vault, update it there
Timeout Slow provider, or too tight a client timeout Raise the timeout; check the provider's status page
ContextLengthExceeded Prompt outgrew the model's window Truncate history; chunk the input; move to a larger-context model
BadRequestError Malformed request — often an invalid parameter Read the message; check the parameters on the request detail
Tool-related errors Your own tool raised Open the trace; the failing tool span carries the traceback

Triage workflow

  1. Sort by time, look at the newest cluster. Bursts of the same error usually share one cause.
  2. Group by type mentally — one dominant error type is a single problem; a scatter of types is usually an upstream outage.
  3. Open one representative exception, then follow its trace link to see the request that produced it.
  4. Correlate with LLM Analytics — did the error burst coincide with a traffic spike? Then it's capacity. Did request volume stay flat? Then something changed in your code or at the provider.

Related