From 12cbfc076a149e002c8f36663549a85b7712bab4 Mon Sep 17 00:00:00 2001 From: Hans Ott Date: Fri, 12 Dec 2025 17:29:59 +0100 Subject: [PATCH] Add extra comment for trackRequest --- library/helpers/fetch.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/helpers/fetch.ts b/library/helpers/fetch.ts index c8b01bf3f..6e414fa3c 100644 --- a/library/helpers/fetch.ts +++ b/library/helpers/fetch.ts @@ -113,6 +113,8 @@ export async function fetch({ ]); } +// Add our own requests as outbound connections (Heartbeats, realtime polling, etc.) +// Only for new instrumentation (see below) function trackRequest(url: URL) { const agent = getInstance(); if (!agent) {