perf(gateway): trim startup imports and sentinel checks

This commit is contained in:
Peter Steinberger
2026-05-03 16:42:55 +01:00
parent 9dc0f10f8a
commit fa866d562e
7 changed files with 292 additions and 33 deletions

View File

@@ -580,7 +580,10 @@ function parseStartupTraceMetrics(raw: string): Array<{ key: string; value: numb
const value = Number(metricMatch[2]);
if (
!Number.isFinite(value) ||
(key !== "eventLoopMax" && !key.endsWith("Ms") && !key.endsWith("Mb"))
(key !== "eventLoopMax" &&
!key.endsWith("Ms") &&
!key.endsWith("Mb") &&
!key.endsWith("Count"))
) {
continue;
}