Traces/tr_i9j0k1l2error

support-agent/refund

Refund ranker pulled the full CRM export after the release, causing context errors and retries.

Jump to suspect span

Total cost

$0.531

34% retry waste

Total tokens

17,696

Prompt + completion

Latency

21.6s

Computed from spans

Suspect span

span_5

Context limit error

Diagnosis

The failure starts at span_5

ContextLengthExceeded: prompt exceeds 16,384 token limit at Generate Win/Loss Analysis

Refund ranker pulled the full CRM export after the release, causing context errors and retries.

Focus span_5

Span waterfall & details

9 spans · bars scaled proportionally by duration · click a span to inspect I/O

A
Agent initializedspan_1Agent

Duration

12ms

Cost

-

Tokens

-

Span completed normally.

L
Generate report outlinespan_2LLM

Duration

3.2s

Cost

$0.063

Tokens

2,104

Span completed normally.

T
query_crmspan_3Tool

Duration

820ms

Cost

-

Tokens

-

I/O

Returned 847 enterprise CRM rows after filters.

L
Generate Pipeline Overviewspan_4LLM

Duration

4.1s

Cost

$0.114

Tokens

3,812

Span completed normally.

!
Generate Win/Loss Analysisspan_5LLMsuspect

Duration

1.2s

Cost

$0.055

Tokens

1,840

I/O

Prompt included full CRM export. redactionStatus=metadata_only

ContextLengthExceeded: prompt exceeds 16,384 token limit

R
Retry with truncated contextspan_6Retry

Duration

3.8s

Cost

$0.066

Tokens

2,200

Span completed normally.

!
Generate Forecastspan_7LLM

Duration

4.4s

Cost

$0.118

Tokens

3,920

RateLimitError: 429 Too Many Requests

RateLimitError: 429 Too Many Requests

R
Retry after provider backoffspan_8Retry

Duration

4.1s

Cost

$0.115

Tokens

3,820

Span completed normally.

A
Agent completedspan_9Agent

Duration

8ms

Cost

-

Tokens

-

Span completed normally.

Trace health

Statuserror
Error spans2
Retry waste$0.181
Suspect spanspan_5

Cause explanation

ContextLengthExceeded: prompt exceeds 16,384 token limit at Generate Win/Loss Analysis

Refund ranker pulled the full CRM export after the release, causing context errors and retries.

Recommended action

Cap CRM rows pulled before refund ranking and retry only the failed section instead of replaying the entire trace.

Evidence export

Export trace data for external analysis.

Comparison controls