materialized view and a bit better ui
Build and Publish / Metadata (push) Successful in 2s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 1m3s

This commit is contained in:
mats committed 2026-09-19 12:43:17 +02:00
1 parent 26b677154b
commit 49f9bb3458
30 files changed
+2184 -106

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import type { ProcessedTrace } from "../components/TraceVisualization"
import type { TraceSummary } from "./types"
/** Same shape the server returns, derived from a fully loaded trace (for lists built from live data). */
export function summarizeTrace(t: ProcessedTrace): TraceSummary {
return {
id: t.id,
name: t.name,
startTime: t.startTime,
endTime: t.endTime,
duration: t.duration,
spanCount: t.spans.length,
errorCount: t.errorCount,
services: t.services,
}
}