From ed4340c25b5b15ef489672d50f67f59548b1ccf3 Mon Sep 17 00:00:00 2001 From: PeterYurkovich Date: Fri, 21 Jun 2024 15:24:36 -0400 Subject: [PATCH] Show a '<1ms' notice in the table for small trace durations --- web/src/components/TraceTable.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/components/TraceTable.tsx b/web/src/components/TraceTable.tsx index d074c32..4d239e7 100644 --- a/web/src/components/TraceTable.tsx +++ b/web/src/components/TraceTable.tsx @@ -86,7 +86,9 @@ export const TraceTable: React.FunctionComponent = () => { {traces.map((trace) => ( {trace.traceId} - {trace.durationMs} + + {!trace.durationMs ? '<1ms' : trace.durationMs} + {trace.spanCount} {trace.errorCount}