Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(queue-worker): remove OTEL undici/http instrumentations

Gergő Móricz392cb5fe4a8a
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index 778ab152c..8375119c4 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -71,7 +71,10 @@ cacheableLookup.install(https.globalAgent);
const langfuseOtel = process.env.LANGFUSE_PUBLIC_KEY ? new NodeSDK({
traceExporter: new LangfuseExporter(),
- instrumentations: [getNodeAutoInstrumentations()],
+ instrumentations: [getNodeAutoInstrumentations({
+ '@opentelemetry/instrumentation-undici': { enabled: false },
+ '@opentelemetry/instrumentation-http': { enabled: false },
+ })],
}) : null;
if (langfuseOtel) {