Skip to main content
Use Trace comparison to verify metrics and calls across two rounds of a project, such as an initial review and a follow-up after changes. First check whether the goals, inputs, and models are comparable. Read the actual outputs to assess task quality.
This Beta enhanced view requires a deployment with the Compare entry on native Traces. External Langfuse sources do not currently provide this entry. Sign in, select a specific Agent, and choose two readable native records.
The recording uses a synthetic task to demonstrate filtering and opening the source call.

1. Select two Traces

  1. Open Observation → Trace and select the space, Agent and a window containing both tasks.
  2. Select two rows in the Trace list. When comparing before and after a change, select the earlier run first as A and the later run second as B. Then select Compare in the bottom action bar.
  3. In Run overview, check both Trace IDs, inputs, models, and start times. Select the shortened Trace ID on a card to open the full source.
If the button is unavailable, check that exactly two rows are selected, that you are in Trace rather than Session view, and that the source is native. If one side fails to load, check the window and access permissions; do not treat a failed request as an empty Trace.

2. Read the run overview

Differences are B − A. Red means an increase, green a decrease, and gray no change. Color does not judge task quality. A zero baseline has no percentage delta; missing metrics stay unreported rather than becoming zero. Hiding call types does not change these complete-Trace metrics.

3. Filter the timeline and details by type

The Time from trace start header shows five switches: Conversation, Memory, Skill, Decision and MCP. Types with no calls show 0 and stay disabled. From the Trace list, available Conversation, Memory, Skill and Decision calls start visible; MCP starts hidden. Enable MCP or Show all to display it. The sample walkthrough starts with MCP enabled. Timeline markers and detail rows share type icons: a message for Conversation, a branch for Decision, a plug for MCP, a database for Memory, and blocks for Skill. In A1 and B1, the letter identifies the Trace and the number retains its original call index. This differs from the input/output message numbers inside a selected conversation.

Select two Traces, show MCP calls, and open the failed source Span from B3 · Demo data · Chinese UI

In the recording, enable MCP and select B3 to expand its failed call. Select View in the View run column and confirm 504 Gateway Timeout in the source Span. Your references depend on the records. You can also follow the full sample to check the failure and successful retry.
Trace comparison showing five type switches, A/B conversation markers and selected input message 9 and output message 7Trace comparison showing five type switches, A/B conversation markers and selected input message 9 and output message 7

Conversation calls on the timeline, with independently folded input/output in the selected row · Synthetic data · Click to enlarge

  • Switches filter the timeline and details together. Original references stay unchanged, so B1 followed by B4 is normal after hiding MCP.
  • Positions are relative to each Trace’s own start. Thin bars show call duration; label width does not. Filtering does not rescale the axis.
  • Select a reference to locate and expand its details; select it again to collapse. Keyboard focus and activation are supported. Hover or focus links a marker to its row without replacing the expanded call.
  • Hiding the selected type closes its details and clears its highlights. Show all recovers an all-hidden view.
  • Hidden calls with reported failures remain visible as a count in the header. This does not count unreported outcomes as failures.
Calls without a recorded start appear in Time not recorded with their type icon, original reference, and detail action. They are not assigned an invented time or placed proportionally on the axis. Missing duration differs from an explicitly recorded 0 ms.

4. Inspect a call’s returned evidence

For a Conversation call, check the input/output roles and original message numbers, then expand either side as needed. JSON starts as a shallow tree with branch expansion and JSON mode. Expanded long text flows through the page. History and Full message and metadata remain available, and copy preserves complete content. Long call names use one ellipsized line with the full title on hover; the model stays on the next line. See Span content enhancements.
Selected memory call and its returned evidenceSelected memory call and its returned evidence

Selected memory call and its returned evidence · Demo data · Click to enlarge

Expand a memory call under Memory call results to inspect individual entries, memory states and search scores. Copy an entry or open View original response. Write acknowledgements retain their original content. MCP, Skill and Jev decision calls show their recorded details. When no result can be parsed, open the full trace to continue inspecting the source. Select View in the View run column to open the source call, or use View full trace for context. Check that its Trace ID and Span ID match the selected A or B call. After changing the time range, both traces and source links use the same query window. Manual refresh recalculates a relative window. To investigate cross-round memory use, check the returned record, subsequent model input and actual actions. A search hit does not prove adoption; fewer calls do not prove savings. Changes to input, model or task phase can affect the metrics. See cross-round memory inspection.

5. Compare a decision with its execution

Select a decision reference on the timeline. In Jev decision comparison, inspect the question, model result, linked execution and call usage separately. Usage is listed once per call; one Span may contain several judgments.
Decision call and linked executionDecision call and linked execution

Decision call and linked execution

The example chooses a model for the review, then opens its actual call through Linked execution. The decision model, suggested model and executed model are distinct fields. Missing linkage does not establish execution. See Decision traces for the result formats.