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 1
1
import type { Span } from '@opentelemetry/api' ;
2
2
import type { RedisResponseCustomAttributeFunction } from '@opentelemetry/instrumentation-ioredis' ;
3
3
import { IORedisInstrumentation } from '@opentelemetry/instrumentation-ioredis' ;
4
- import { RedisInstrumentation } from '@opentelemetry/instrumentation-redis-4 ' ;
4
+ import { RedisInstrumentation } from '@opentelemetry/instrumentation-redis' ;
5
5
import type { IntegrationFn } from '@sentry/core' ;
6
6
import {
7
7
defineIntegration ,
@@ -81,7 +81,7 @@ const instrumentIORedis = generateInstrumentOnce('IORedis', () => {
81
81
} ) ;
82
82
} ) ;
83
83
84
- const instrumentRedis4 = generateInstrumentOnce ( 'Redis-4 ' , ( ) => {
84
+ const instrumentRedisModule = generateInstrumentOnce ( 'Redis' , ( ) => {
85
85
return new RedisInstrumentation ( {
86
86
responseHook : cacheResponseHook ,
87
87
} ) ;
@@ -91,7 +91,7 @@ const instrumentRedis4 = generateInstrumentOnce('Redis-4', () => {
91
91
export const instrumentRedis = Object . assign (
92
92
( ) : void => {
93
93
instrumentIORedis ( ) ;
94
- instrumentRedis4 ( ) ;
94
+ instrumentRedisModule ( ) ;
95
95
96
96
// todo: implement them gradually
97
97
// new LegacyRedisInstrumentation({}),
You can’t perform that action at this time.
0 commit comments