@@ -12,6 +12,7 @@ describe('redis auto instrumentation', () => {
1212 expect . objectContaining ( {
1313 description : 'set test-key [1 other arguments]' ,
1414 op : 'db' ,
15+ origin : 'auto.db.otel.redis' ,
1516 data : expect . objectContaining ( {
1617 'sentry.op' : 'db' ,
1718 'db.system' : 'redis' ,
@@ -23,6 +24,7 @@ describe('redis auto instrumentation', () => {
2324 expect . objectContaining ( {
2425 description : 'get test-key' ,
2526 op : 'db' ,
27+ origin : 'auto.db.otel.redis' ,
2628 data : expect . objectContaining ( {
2729 'sentry.op' : 'db' ,
2830 'db.system' : 'redis' ,
@@ -48,6 +50,7 @@ describe('redis auto instrumentation', () => {
4850 expect . objectContaining ( {
4951 description : 'set ioredis-cache:test-key [1 other arguments]' ,
5052 op : 'cache.put' ,
53+ origin : 'auto.db.otel.redis' ,
5154 data : expect . objectContaining ( {
5255 'db.statement' : 'set ioredis-cache:test-key [1 other arguments]' ,
5356 'cache.key' : 'ioredis-cache:test-key' ,
@@ -60,6 +63,7 @@ describe('redis auto instrumentation', () => {
6063 expect . objectContaining ( {
6164 description : 'get ioredis-cache:test-key' ,
6265 op : 'cache.get_item' , // todo: will be changed to cache.get
66+ origin : 'auto.db.otel.redis' ,
6367 data : expect . objectContaining ( {
6468 'db.statement' : 'get ioredis-cache:test-key' ,
6569 'cache.hit' : true ,
@@ -73,6 +77,7 @@ describe('redis auto instrumentation', () => {
7377 expect . objectContaining ( {
7478 description : 'get ioredis-cache:unavailable-data' ,
7579 op : 'cache.get_item' , // todo: will be changed to cache.get
80+ origin : 'auto.db.otel.redis' ,
7681 data : expect . objectContaining ( {
7782 'db.statement' : 'get ioredis-cache:unavailable-data' ,
7883 'cache.hit' : false ,
0 commit comments