Traces

Explore and analyze traces in the Traccia platform.

The Trace Explorer lets you search, filter, and analyze agent executions.

The trace list with each run's outcome: Success, Partial, Error or Calculating
The trace list, with each run's outcome

Filtering Traces

  • • Time Range - Last hour, day, week, or custom
  • • Agent - Filter by specific agent
  • • Outcome - Success, Partial, Error, or Has failed steps (any run with at least one failed step, whatever its outcome). See Run status
  • • Cost Range - Filter by execution cost
  • • Duration - Filter by how long the trace took
  • • Show Eval Traces - Off by default. Turn it on to include SDK and Prompt Playground eval traces, which are hidden so they do not mix with production traffic.

Run status

Each new run gets one outcome, worked out from all of its spans, so a long run that arrives in many batches still gets the right answer. Runs recorded earlier keep the outcome they were shown with.

OutcomeMeaning
SuccessThe run finished and none of its steps failed.
PartialThe run didn't fail, but one or more of its steps did, for example a tool call that failed and was retried. The trace shows Completed with failed steps.
ErrorThe run itself failed: its top-level step (the agent run, request or turn) ended in an error.
CalculatingThe run is still sending spans. Its outcome appears a few seconds after the last one arrives, and open pages update on their own.

A step stopped by a policy is shown as Stopped By Policy, never as a failure. For coding agents, the turn or interaction decides: a Claude Code interaction that completed is Success or Partial, even if a model request or tool call inside it failed.

A Partial run: the outcome reads Completed with failed steps, and the failed tool call is selected with its error
A Partial run: one tool call failed and was retried, and the run finished

To find runs that need attention, filter the trace list by Error for runs that failed, or Has failed steps for every run with a failed step, including Partial ones.

Trace Details

Click any trace to open it. The top of the page sums up the run (duration, cost, LLM calls, tokens, tool calls and status), and the Execution Timeline below it shows every span: LLM calls, tool calls, agent steps and the rest. The trace opens with its first span selected, so its details are already showing.

Gateway-only traffic (no SDK) still appears here as one LLM span per completion (prompt, completion, tokens, policy), not a nested agent timeline. See Gateway.

The trace view: the span timeline on the left and the selected span's details on the right, on the Overview tab
The timeline with a span selected and its Overview tab open

Timeline and layout

  • • The timeline fills the height of the screen. The span list and the span details scroll separately, so a long attribute list never pushes the timeline out of view.
  • • Drag the divider between the span list and the span details to resize them. Your browser remembers the split. On narrow screens the two panes stack, with the timeline on top and the details below.
  • • Use the full screen button, or press Shift+F, to give the timeline the whole window. Press Shift+F or Esc to leave.
  • • Rows are compact and show readable durations, such as 850ms, 4.21s or 1m 49s.
  • • A row names its agent only when that agent differs from the trace's main agent, for example on a subagent's spans.

Span details

Click a span to open its details next to the timeline. The header shows:

  • • The span name and its type badge, plus an Error badge if the span failed.
  • • An agent tag, only when the span's agent differs from the trace's (for example a subagent).
  • • Duration, Started (the clock time, and how long after the trace started) and Ended. Hover a time to see the exact timestamp.
  • • The Span ID, with a copy button.
  • • Actions, depending on the span and your role: Replay in Playground, Save as prompt and Add To Dataset.

Below the header are three tabs:

TabWhat it shows
OverviewThe Error box (for a failed span), tokens, input and output, cost, and guardrail signals. A span with none of these opens on Attributes.
AttributesEvery attribute, grouped by key prefix (for example llm or agent). The filter keeps its text as you move between spans, so you can compare one key across steps. Switch between Formatted and Raw values.
RawThe span as JSON, with a copy button. Child spans are not included.

The tab you used last stays selected as you move between spans. A failed span always opens on Overview, where its error is.

Time

  • • The trace's start and end time appear under the Execution Timeline title. Hover them for the exact UTC times.
  • • The Elapsed / Clock switch sets the time axis: time since the trace started, or the time of day.
  • • The Local / UTC switch sets the time zone for every clock time in the trace view.

Your browser remembers both choices.

Errors

When spans in a trace failed, the trace view takes you straight to them:

  • • Summary bar. Above the timeline, a bar says how many spans failed and names up to three of them, each with its error as Type: message (or whichever of the two is known). Click a name to jump to that span, even inside a collapsed branch. When more spans failed, and N more steps through the rest.
  • • Errors button. The N errors button in the toolbar opens the next failed span on each click and shows where you are (for example 2/5). Press e for the next failed span and Shift+E for the previous one.
  • • Error box. On the Overview tab, a failed span shows the exception type and a short preview of the message, with a copy button. For spans without a stored exception, it shows the status message, or the error.message or exception.message attribute. See Error details for the full exception.
  • • Red dot. A collapsed branch that hides a failed span shows a red dot, so a failure is never out of sight.
A trace with failed spans: the errors summary bar, the Errors button and the Error box in span details
The errors summary bar, the Errors button and the Error box

Error details

When a span recorded an exception, Traccia stores it, and the Error box offers Show details. That loads the full stored exceptions for this span:

  • • The exception type and the full message, with a copy button.
  • • The Stack trace, which you can collapse, with a copy button.
  • • When a span recorded several exceptions, the Error box says how many (for example (3 exceptions)), and the details list them newest first. When more than eight were recorded, a note says how many earlier ones were not kept.
  • • A note for anything left out for size: Not stored because it was too large, naming the message or the stack trace.

Known secrets, such as passwords in URLs, bearer tokens and API keys, are replaced with ***REDACTED*** before anything is stored. For the limits and the stored attributes, see Exception events. Workspace guests see the same details as members. azAI, the assistant inside Traccia, only ever sees the exception type, never the message or the stack trace.

An organization admin can turn off Store full error details. New errors then keep their type but not their message or stack trace. The span's short status message is still stored, and often repeats the message. When an error has no stored message or stack trace, its details say why that can happen: full error details weren't being captured for your organization when it was received (for example, the switch was off), or the app didn't send them.

Two entries per exception from older Python SDKs

Python SDK versions before 0.1.36 recorded each exception twice on instrumented paths, so those spans show two exceptions where one was raised. Upgrading fixes newly recorded spans only; spans already stored keep both entries.

Search and navigation

  • • Search spans matches span names, types, IDs and status, error messages, and attribute keys and values, so you can find a span by its input, output or any attribute. A counter shows the matches; press Enter for the next match and Shift+Enter for the previous one. Branches that hold a match stay open while the search is active.
  • • Expand all and Collapse all open or fold every branch. Collapse all keeps the top level open.
  • • The keyboard button lists the shortcuts and puts focus on the span list, ready for the arrow keys.

Keyboard shortcuts

Moving through the tree works while the span list has focus: click the list, or a row, first. The other shortcuts work anywhere in the trace view, except while you type in a text field.

KeysActionWorks
↑ / ↓ or j / kMove to the previous or next span. When span details are open, they follow.In the span list
→Expand a branch, or move into an open oneIn the span list
←Collapse a branch, or move to the parent spanIn the span list
EnterOpen the span's detailsIn the span list
Home / EndJump to the first or last spanIn the span list
/Search spansAnywhere in the trace view
e / Shift+ENext or previous failed spanAnywhere in the trace view
Shift+FFull screen on or offAnywhere in the trace view
EscLeave full screen; otherwise close span detailsAnywhere in the trace view
Enter / Shift+EnterNext or previous search matchIn the search box
EscClear the searchIn the search box

Prompt Replay

When a span includes prompt content, its span details offer Replay in Playground and Save as prompt. That opens the Prompt Playground with the span's messages prefilled so you can iterate on real production inputs.

Sorting

  • • By cost (highest first)
  • • By duration (slowest first)
  • • By token count (most tokens first)
  • • By time (most recent first)

© 2026 Traccia.