From c3c8da32c53d1dd03714f94452b651a439289773 Mon Sep 17 00:00:00 2001 From: zhiyan114 Date: Fri, 4 Oct 2024 15:05:59 -0400 Subject: [PATCH 1/5] expose suppressTracing for deno/Node --- packages/deno/src/index.ts | 1 + packages/node/src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/deno/src/index.ts b/packages/deno/src/index.ts index 1f983b476b74..8a0a2a49fdcc 100644 --- a/packages/deno/src/index.ts +++ b/packages/deno/src/index.ts @@ -61,6 +61,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, metricsDefault as metrics, inboundFiltersIntegration, linkedErrorsIntegration, diff --git a/packages/node/src/index.ts b/packages/node/src/index.ts index bc63094e2e87..f77ef88548f9 100644 --- a/packages/node/src/index.ts +++ b/packages/node/src/index.ts @@ -124,6 +124,7 @@ export { startSpanManual, startInactiveSpan, startNewTrace, + suppressTracing, getActiveSpan, withActiveSpan, getRootSpan, From 8c8a0ebbaa34b560f5b9970e1ee6ac7727357de0 Mon Sep 17 00:00:00 2001 From: zhiyan114 Date: Mon, 7 Oct 2024 12:41:41 -0400 Subject: [PATCH 2/5] Exported suppressTracing for the remaining libraries --- packages/browser/src/exports.ts | 1 + packages/cloudflare/src/index.ts | 1 + packages/google-cloud-serverless/src/index.ts | 1 + packages/remix/src/index.server.ts | 1 + packages/solidstart/src/server/index.ts | 1 + packages/sveltekit/src/server/index.ts | 1 + packages/vercel-edge/src/index.ts | 1 + 7 files changed, 7 insertions(+) diff --git a/packages/browser/src/exports.ts b/packages/browser/src/exports.ts index 94b4bd0b3c2a..fe5179f77661 100644 --- a/packages/browser/src/exports.ts +++ b/packages/browser/src/exports.ts @@ -40,6 +40,7 @@ export { setCurrentClient, Scope, continueTrace, + suppressTracing, SDK_VERSION, setContext, setExtra, diff --git a/packages/cloudflare/src/index.ts b/packages/cloudflare/src/index.ts index 0c02fb8ca810..7c0aa6018313 100644 --- a/packages/cloudflare/src/index.ts +++ b/packages/cloudflare/src/index.ts @@ -61,6 +61,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getSpanDescendants, continueTrace, diff --git a/packages/google-cloud-serverless/src/index.ts b/packages/google-cloud-serverless/src/index.ts index c2d743eb1bf1..bda96f062966 100644 --- a/packages/google-cloud-serverless/src/index.ts +++ b/packages/google-cloud-serverless/src/index.ts @@ -67,6 +67,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getRootSpan, getSpanDescendants, diff --git a/packages/remix/src/index.server.ts b/packages/remix/src/index.server.ts index 9218933b9896..098bd1293080 100644 --- a/packages/remix/src/index.server.ts +++ b/packages/remix/src/index.server.ts @@ -119,6 +119,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/solidstart/src/server/index.ts b/packages/solidstart/src/server/index.ts index b22fbbe1de0d..d537ddd51e88 100644 --- a/packages/solidstart/src/server/index.ts +++ b/packages/solidstart/src/server/index.ts @@ -110,6 +110,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/sveltekit/src/server/index.ts b/packages/sveltekit/src/server/index.ts index e9fb6f256192..72b459e2fde3 100644 --- a/packages/sveltekit/src/server/index.ts +++ b/packages/sveltekit/src/server/index.ts @@ -112,6 +112,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/vercel-edge/src/index.ts b/packages/vercel-edge/src/index.ts index 8be93345fa3d..7eb7893e974a 100644 --- a/packages/vercel-edge/src/index.ts +++ b/packages/vercel-edge/src/index.ts @@ -61,6 +61,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getSpanDescendants, continueTrace, From 04a98f628e1cb3863ae97b54172afab211beae3a Mon Sep 17 00:00:00 2001 From: zhiyan114 Date: Fri, 4 Oct 2024 15:05:59 -0400 Subject: [PATCH 3/5] expose suppressTracing for deno/Node --- packages/deno/src/index.ts | 1 + packages/node/src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/deno/src/index.ts b/packages/deno/src/index.ts index 1f983b476b74..8a0a2a49fdcc 100644 --- a/packages/deno/src/index.ts +++ b/packages/deno/src/index.ts @@ -61,6 +61,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, metricsDefault as metrics, inboundFiltersIntegration, linkedErrorsIntegration, diff --git a/packages/node/src/index.ts b/packages/node/src/index.ts index bc63094e2e87..f77ef88548f9 100644 --- a/packages/node/src/index.ts +++ b/packages/node/src/index.ts @@ -124,6 +124,7 @@ export { startSpanManual, startInactiveSpan, startNewTrace, + suppressTracing, getActiveSpan, withActiveSpan, getRootSpan, From 8837a5213873ba4e0d46357763fcbf134f23d34b Mon Sep 17 00:00:00 2001 From: zhiyan114 Date: Mon, 7 Oct 2024 12:41:41 -0400 Subject: [PATCH 4/5] Exported suppressTracing for the remaining libraries --- packages/browser/src/exports.ts | 1 + packages/cloudflare/src/index.ts | 1 + packages/google-cloud-serverless/src/index.ts | 1 + packages/remix/src/index.server.ts | 1 + packages/solidstart/src/server/index.ts | 1 + packages/sveltekit/src/server/index.ts | 1 + packages/vercel-edge/src/index.ts | 1 + 7 files changed, 7 insertions(+) diff --git a/packages/browser/src/exports.ts b/packages/browser/src/exports.ts index 94b4bd0b3c2a..fe5179f77661 100644 --- a/packages/browser/src/exports.ts +++ b/packages/browser/src/exports.ts @@ -40,6 +40,7 @@ export { setCurrentClient, Scope, continueTrace, + suppressTracing, SDK_VERSION, setContext, setExtra, diff --git a/packages/cloudflare/src/index.ts b/packages/cloudflare/src/index.ts index 0c02fb8ca810..7c0aa6018313 100644 --- a/packages/cloudflare/src/index.ts +++ b/packages/cloudflare/src/index.ts @@ -61,6 +61,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getSpanDescendants, continueTrace, diff --git a/packages/google-cloud-serverless/src/index.ts b/packages/google-cloud-serverless/src/index.ts index c2d743eb1bf1..bda96f062966 100644 --- a/packages/google-cloud-serverless/src/index.ts +++ b/packages/google-cloud-serverless/src/index.ts @@ -67,6 +67,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getRootSpan, getSpanDescendants, diff --git a/packages/remix/src/index.server.ts b/packages/remix/src/index.server.ts index 9218933b9896..098bd1293080 100644 --- a/packages/remix/src/index.server.ts +++ b/packages/remix/src/index.server.ts @@ -119,6 +119,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/solidstart/src/server/index.ts b/packages/solidstart/src/server/index.ts index b22fbbe1de0d..d537ddd51e88 100644 --- a/packages/solidstart/src/server/index.ts +++ b/packages/solidstart/src/server/index.ts @@ -110,6 +110,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/sveltekit/src/server/index.ts b/packages/sveltekit/src/server/index.ts index e9fb6f256192..72b459e2fde3 100644 --- a/packages/sveltekit/src/server/index.ts +++ b/packages/sveltekit/src/server/index.ts @@ -112,6 +112,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/vercel-edge/src/index.ts b/packages/vercel-edge/src/index.ts index 8be93345fa3d..7eb7893e974a 100644 --- a/packages/vercel-edge/src/index.ts +++ b/packages/vercel-edge/src/index.ts @@ -61,6 +61,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getSpanDescendants, continueTrace, From 46553d10e7b0821bbaf3d6bec3d58eb92debfbb0 Mon Sep 17 00:00:00 2001 From: zhiyan114 Date: Thu, 10 Oct 2024 15:43:44 -0400 Subject: [PATCH 5/5] patched e.e --- packages/astro/src/index.server.ts | 1 + packages/aws-serverless/src/index.ts | 1 + packages/bun/src/index.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/astro/src/index.server.ts b/packages/astro/src/index.server.ts index 91ea79f833bc..dacb42643b99 100644 --- a/packages/astro/src/index.server.ts +++ b/packages/astro/src/index.server.ts @@ -119,6 +119,7 @@ export { spotlightIntegration, startInactiveSpan, startNewTrace, + suppressTracing, startSession, startSpan, startSpanManual, diff --git a/packages/aws-serverless/src/index.ts b/packages/aws-serverless/src/index.ts index 7b0e05c9a48f..ee70e8956c6f 100644 --- a/packages/aws-serverless/src/index.ts +++ b/packages/aws-serverless/src/index.ts @@ -66,6 +66,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getRootSpan, getSpanDescendants, diff --git a/packages/bun/src/index.ts b/packages/bun/src/index.ts index 7026e6800b14..7ccca26a3da6 100644 --- a/packages/bun/src/index.ts +++ b/packages/bun/src/index.ts @@ -87,6 +87,7 @@ export { startInactiveSpan, startSpanManual, startNewTrace, + suppressTracing, withActiveSpan, getRootSpan, getSpanDescendants,