diff --git a/plugins/node/opentelemetry-instrumentation-redis-4/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-redis-4/src/instrumentation.ts index d1459da8ff..b68a312a16 100644 --- a/plugins/node/opentelemetry-instrumentation-redis-4/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-redis-4/src/instrumentation.ts @@ -335,7 +335,7 @@ export class RedisInstrumentation extends InstrumentationBase { const options = this.options; - const attributes = getClientAttributes(this._diag, options); + const attributes = getClientAttributes(plugin._diag, options); const span = plugin.tracer.startSpan( `${RedisInstrumentation.COMPONENT}-connect`,