Processor Metrics
-
+
{processorRows.length} processor{processorRows.length !== 1 ? 's' : ''}
+
+
+
+
-
+ {processorView === 'diagram' && appId && routeId ? (
+
+ ) : (
+
+ )}
{/* Top 5 Errors — hidden if empty */}
diff --git a/ui/src/utils/format-utils.ts b/ui/src/utils/format-utils.ts
index d05d5172..8e7a5a84 100644
--- a/ui/src/utils/format-utils.ts
+++ b/ui/src/utils/format-utils.ts
@@ -15,8 +15,8 @@ export function formatDurationShort(ms: number | undefined): string {
const seconds = Math.round((ms % 60_000) / 1000);
return seconds > 0 ? `${minutes}m ${seconds}s` : `${minutes}m`;
}
- if (ms >= 1000) return `${(ms / 1000).toFixed(1)}s`;
- return `${ms}ms`;
+ if (ms >= 1000) return `${(ms / 1000).toLocaleString(undefined, { maximumFractionDigits: 1 })}s`;
+ return `${ms.toLocaleString(undefined, { maximumFractionDigits: 3 })}ms`;
}
export function statusLabel(s: string): string {