use first_byte_took only for response time

This commit is contained in:
Alex Holliday committed 2025-02-13 14:47:24 -08:00
1 parent db3255d9c6
commit 7dd5573f01
1 file changed
+1 -8
@@ -30,14 +30,7 @@ class DistributedUptimeController {
} = result;
// Calculate response time
const responseTime =
(first_byte_took +
body_read_took +
dns_took +
conn_took +
connect_took +
tls_took) /
1_000_000;
const responseTime = first_byte_took / 1_000_000;
// Calculate if server is up or down
const isErrorStatus = status_code >= 400;