From a2670befea85eb5559b21f34d644d31242095393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Sat, 27 Sep 2025 14:39:46 +0300 Subject: [PATCH] fix(api/otel): turn off undici for now --- apps/api/src/otel.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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();