From 847771fe06d89eb41aa5f5ba9ebe6cee1ec6067c Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 6 Aug 2026 03:21:16 -0400 Subject: [PATCH] fix log processor --- .../console/function/src/log-processor.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/console/function/src/log-processor.ts b/packages/console/function/src/log-processor.ts index ee8743ef154..75daba2b504 100644 --- a/packages/console/function/src/log-processor.ts +++ b/packages/console/function/src/log-processor.ts @@ -54,15 +54,15 @@ export default { console.log(JSON.stringify(data, null, 2)) const lakeIngest = getLakeIngest() - const [honeycomb, lake] = await Promise.all([ - fetch("https://api.honeycomb.io/1/batch/zen", { - method: "POST", - headers: { - "Content-Type": "application/json", - "X-Honeycomb-Team": Resource.HONEYCOMB_API_KEY.value, - }, - body: JSON.stringify(events), - }), + const [lake] = await Promise.all([ + // fetch("https://api.honeycomb.io/1/batch/zen", { + // method: "POST", + // headers: { + // "Content-Type": "application/json", + // "X-Honeycomb-Team": Resource.HONEYCOMB_API_KEY.value, + // }, + // body: JSON.stringify(events), + // }), ...(lakeIngest ? [ fetch(lakeIngest.url, { @@ -76,8 +76,8 @@ export default { ] : []), ]) - console.log(honeycomb.status) - console.log(await honeycomb.text()) + // console.log(honeycomb.status) + // console.log(await honeycomb.text()) if (lake) { console.log(lake.status) console.log(await lake.text())