From f585ce7416f83370916c1722119c699b7f96db08 Mon Sep 17 00:00:00 2001 From: Andrei Borza Date: Wed, 17 Jun 2026 17:12:53 +0200 Subject: [PATCH] fix(node): Restore eslint-disable in vendored tedious instrumentation The "Streamline tedious instrumentation" refactor (#21598) dropped the `/* eslint-disable */` directive from the vendored instrumentation file while keeping its imports of the deprecated semconv constants (`ATTR_DB_SYSTEM`, `ATTR_DB_NAME`, etc.). Closes: #21614 --- .../tracing/tedious/vendored/instrumentation.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/node/src/integrations/tracing/tedious/vendored/instrumentation.ts b/packages/node/src/integrations/tracing/tedious/vendored/instrumentation.ts index 89725e6b6e0f..86c4faeb68a9 100644 --- a/packages/node/src/integrations/tracing/tedious/vendored/instrumentation.ts +++ b/packages/node/src/integrations/tracing/tedious/vendored/instrumentation.ts @@ -149,13 +149,20 @@ export class TediousInstrumentation extends InstrumentationBase=4 uses `authentication` object; older versions just userName and password pair + // eslint-disable-next-line typescript/no-deprecated [ATTR_DB_USER]: this.config?.userName ?? this.config?.authentication?.options?.userName, + // eslint-disable-next-line typescript/no-deprecated [ATTR_DB_STATEMENT]: sql, + // eslint-disable-next-line typescript/no-deprecated [ATTR_DB_SQL_TABLE]: request.table, + // eslint-disable-next-line typescript/no-deprecated [ATTR_NET_PEER_NAME]: this.config?.server, + // eslint-disable-next-line typescript/no-deprecated [ATTR_NET_PEER_PORT]: this.config?.options?.port, }; const span = startInactiveSpan({