Skip to content

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

fix(api/otel): turn off undici for now

Gergő Móricza2670befea85
diff --git a/apps/api/src/otel.ts b/apps/api/src/otel.ts
index ed3e608af..ccfaecedb 100644
--- a/apps/api/src/otel.ts
+++ b/apps/api/src/otel.ts
@@ -4,7 +4,13 @@ import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
const otelSdk = new NodeSDK({
traceExporter: new OTLPTraceExporter(),
- instrumentations: [getNodeAutoInstrumentations()],
+ instrumentations: [
+ getNodeAutoInstrumentations({
+ "@opentelemetry/instrumentation-undici": {
+ enabled: false,
+ },
+ }),
+ ],
});
otelSdk.start();