From 8c806f8bbbc2d4e249b5ad04069a7a9f44fcce1b Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 21 Aug 2017 19:39:38 +0200 Subject: log TTFB --- api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api.js b/api.js index 1146f86..8d14a6b 100644 --- a/api.js +++ b/api.js @@ -69,6 +69,7 @@ module.exports.request = async (url, options, logger) => { qs: options, status: response.statusCode, connection_start: response.timings.connect, + connection_first: response.timings.response, connection_end: response.timings.end, ratelimit_remaining: parseInt(response.headers["x-ratelimit-remaining"]) }); -- cgit v1.3.1