File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed
packages/instrumentation-ioredis Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ export class IORedisInstrumentation extends InstrumentationBase<IORedisInstrumen
184184 }
185185
186186 const { host, port } = this . options ;
187-
187+
188188 const dbQueryText = dbStatementSerializer ( cmd . name , cmd . args ) ;
189189 if ( instrumentation . _dbSemconvStability & SemconvStability . OLD ) {
190190 attributes [ ATTR_DB_SYSTEM ] = DB_SYSTEM_VALUE_REDIS ;
Original file line number Diff line number Diff line change @@ -483,14 +483,6 @@ describe('ioredis', () => {
483483 assert . strictEqual ( endedSpans [ 1 ] . name , 'set' ) ;
484484 assert . strictEqual ( endedSpans [ 2 ] . name , 'get' ) ;
485485 assert . strictEqual ( endedSpans [ 3 ] . name , 'exec' ) ;
486- assert . strictEqual (
487- endedSpans [ 1 ] . attributes [ ATTR_DB_OPERATION_NAME ] ,
488- 'MULTI set'
489- ) ;
490- assert . strictEqual (
491- endedSpans [ 2 ] . attributes [ ATTR_DB_OPERATION_NAME ] ,
492- 'MULTI get'
493- ) ;
494486 testUtils . assertSpan (
495487 endedSpans [ 0 ] ,
496488 SpanKind . CLIENT ,
@@ -528,14 +520,6 @@ describe('ioredis', () => {
528520 assert . strictEqual ( endedSpans [ 0 ] . name , 'set' ) ;
529521 assert . strictEqual ( endedSpans [ 1 ] . name , 'del' ) ;
530522 assert . strictEqual ( endedSpans [ 2 ] . name , 'test span' ) ;
531- assert . strictEqual (
532- endedSpans [ 0 ] . attributes [ ATTR_DB_OPERATION_NAME ] ,
533- 'PIPELINE set'
534- ) ;
535- assert . strictEqual (
536- endedSpans [ 1 ] . attributes [ ATTR_DB_OPERATION_NAME ] ,
537- 'PIPELINE del'
538- ) ;
539523 testUtils . assertSpan (
540524 endedSpans [ 0 ] ,
541525 SpanKind . CLIENT ,
You can’t perform that action at this time.
0 commit comments