Works with trace and observability stacks
This page applies to trace systems such as OpenTelemetry backends, Langfuse, Phoenix, and internal trace stores.
For a documented, tested field mapping from the OpenTelemetry GenAI
semantic conventions’ gen_ai.evaluation.result event to EvalRow, see
OpenTelemetry GenAI evaluation events. For baseline comparison
across runs, import with --case-id-attribute=<key> so row ids come from a
stable case id instead of the per-run span id.
What trace stacks do well
- Explain why a row failed (tool latency, retrieval miss, policy branch, etc.).
- Provide replay/debug evidence beyond pass/fail summaries.
Tradeoffs
- Trace stores are often cloud-coupled while report artifacts are offline-first.
- URL lifetimes and access controls can make links non-portable unless IDs are also preserved.
Minimal conversion path into eval-report/v1
- Keep
rows[].trace.traceIdandrows[].trace.spanIdas stable portable IDs. - Add
traceUrl/spanUrlwhen you have a durable deep link. - Keep core gate fields (
passed,severity,category,reason) independent of trace backend availability.
Concrete command/pattern
eval-dashboards report --input=examples/basic-json --run-id=run-trace-links --reporter=html --report-dir=eval-report
Then open eval-report/index.html and inspect row agent/tool-timeout-001; the row details panel renders trace and span links.
Related: