From eb116c06cdaacdacdc6d5fcad5dfd8a8984638f0 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 17 Nov 2023 09:44:07 +0000 Subject: [PATCH] use boolean field for cached status --- apps/proxy/src/routes/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/proxy/src/routes/proxy.ts b/apps/proxy/src/routes/proxy.ts index 4c64415..ace18f9 100644 --- a/apps/proxy/src/routes/proxy.ts +++ b/apps/proxy/src/routes/proxy.ts @@ -84,7 +84,7 @@ async function logRequestToDatabase({ const point = new Point("proxy") .tag("type", "request") .tag("node", nodeId) - .tag("cached", cached ? "true" : "false") + .booleanField("cached", cached ? true : false) .stringField("url", url) .intField("status", status) .timestamp(Date.now());