From e610ffa81f25c4de835b7bb49aa19fcc80edf5f0 Mon Sep 17 00:00:00 2001 From: alyssadev Date: Mon, 18 Sep 2023 15:21:18 +1000 Subject: [PATCH] added timestamp to metrics --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3f192a4..402c88d 100644 --- a/src/index.js +++ b/src/index.js @@ -31,7 +31,8 @@ function create_response(request, body, metadata) { request.method, request.cf.country, request.cf.asn, - request.cf.timezone + request.cf.timezone, + new Date().toISOString() ] }) return new Response(body, metadata)