File tree 2 files changed +5
-5
lines changed
dev-packages/node-integration-tests/suites/tracing/genericPool
packages/node/src/integrations/tracing
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ describe('genericPool auto instrumentation', () => {
11
11
spans : expect . arrayContaining ( [
12
12
expect . objectContaining ( {
13
13
description : expect . stringMatching ( / ^ g e n e r i c - p o o l \. a c ? q u i r e / ) ,
14
- origin : 'auto.db.otel.generic-pool ' ,
14
+ origin : 'auto.db.otel.generic_pool ' ,
15
15
data : {
16
- 'sentry.origin' : 'auto.db.otel.generic-pool ' ,
16
+ 'sentry.origin' : 'auto.db.otel.generic_pool ' ,
17
17
} ,
18
18
status : 'ok' ,
19
19
} ) ,
20
20
21
21
expect . objectContaining ( {
22
22
description : expect . stringMatching ( / ^ g e n e r i c - p o o l \. a c ? q u i r e / ) ,
23
- origin : 'auto.db.otel.generic-pool ' ,
23
+ origin : 'auto.db.otel.generic_pool ' ,
24
24
data : {
25
- 'sentry.origin' : 'auto.db.otel.generic-pool ' ,
25
+ 'sentry.origin' : 'auto.db.otel.generic_pool ' ,
26
26
} ,
27
27
status : 'ok' ,
28
28
} ) ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const _genericPoolIntegration = (() => {
25
25
spanDescription === 'generic-pool.aquire' || spanDescription === 'generic-pool.acquire' ;
26
26
27
27
if ( isGenericPoolSpan ) {
28
- span . setAttribute ( SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN , 'auto.db.otel.generic-pool ' ) ;
28
+ span . setAttribute ( SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN , 'auto.db.otel.generic_pool ' ) ;
29
29
}
30
30
} ) ;
31
31
} ,
You can’t perform that action at this time.
0 commit comments