File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/node/src/integrations/tracing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import type { Span } from '@opentelemetry/api' ;
22import type { RedisResponseCustomAttributeFunction } from '@opentelemetry/instrumentation-ioredis' ;
33import { IORedisInstrumentation } from '@opentelemetry/instrumentation-ioredis' ;
4- import { RedisInstrumentation } from '@opentelemetry/instrumentation-redis-4 ' ;
4+ import { RedisInstrumentation } from '@opentelemetry/instrumentation-redis' ;
55import type { IntegrationFn } from '@sentry/core' ;
66import {
77 defineIntegration ,
@@ -81,7 +81,7 @@ const instrumentIORedis = generateInstrumentOnce('IORedis', () => {
8181 } ) ;
8282} ) ;
8383
84- const instrumentRedis4 = generateInstrumentOnce ( 'Redis-4 ' , ( ) => {
84+ const instrumentRedisModule = generateInstrumentOnce ( 'Redis' , ( ) => {
8585 return new RedisInstrumentation ( {
8686 responseHook : cacheResponseHook ,
8787 } ) ;
@@ -91,7 +91,7 @@ const instrumentRedis4 = generateInstrumentOnce('Redis-4', () => {
9191export const instrumentRedis = Object . assign (
9292 ( ) : void => {
9393 instrumentIORedis ( ) ;
94- instrumentRedis4 ( ) ;
94+ instrumentRedisModule ( ) ;
9595
9696 // todo: implement them gradually
9797 // new LegacyRedisInstrumentation({}),
You can’t perform that action at this time.
0 commit comments