@@ -7,14 +7,14 @@ import axios from 'axios';
7
7
test ( 'Propagates trace for outgoing http requests' , async ( { baseURL } ) => {
8
8
const id = crypto . randomUUID ( ) ;
9
9
10
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
10
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
11
11
return (
12
12
transactionEvent . contexts ?. trace ?. op === 'http.server' &&
13
13
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-inbound-headers/${ id } `
14
14
) ;
15
15
} ) ;
16
16
17
- const outboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
17
+ const outboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
18
18
return (
19
19
transactionEvent . contexts ?. trace ?. op === 'http.server' &&
20
20
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http/${ id } `
@@ -121,14 +121,14 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
121
121
test ( 'Propagates trace for outgoing fetch requests' , async ( { baseURL } ) => {
122
122
const id = crypto . randomUUID ( ) ;
123
123
124
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
124
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
125
125
return (
126
126
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
127
127
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-inbound-headers/${ id } `
128
128
) ;
129
129
} ) ;
130
130
131
- const outboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
131
+ const outboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
132
132
return (
133
133
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
134
134
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch/${ id } `
@@ -233,7 +233,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
233
233
} ) ;
234
234
235
235
test ( 'Propagates trace for outgoing external http requests' , async ( { baseURL } ) => {
236
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
236
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
237
237
return (
238
238
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
239
239
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http-external-allowed`
@@ -269,7 +269,7 @@ test('Propagates trace for outgoing external http requests', async ({ baseURL })
269
269
} ) ;
270
270
271
271
test ( 'Does not propagate outgoing http requests not covered by tracePropagationTargets' , async ( { baseURL } ) => {
272
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
272
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
273
273
return (
274
274
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
275
275
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-http-external-disallowed`
@@ -292,7 +292,7 @@ test('Does not propagate outgoing http requests not covered by tracePropagationT
292
292
} ) ;
293
293
294
294
test ( 'Propagates trace for outgoing external fetch requests' , async ( { baseURL } ) => {
295
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
295
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
296
296
return (
297
297
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
298
298
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch-external-allowed`
@@ -328,7 +328,7 @@ test('Propagates trace for outgoing external fetch requests', async ({ baseURL }
328
328
} ) ;
329
329
330
330
test ( 'Does not propagate outgoing fetch requests not covered by tracePropagationTargets' , async ( { baseURL } ) => {
331
- const inboundTransactionPromise = waitForTransaction ( 'node-fastify-app ' , transactionEvent => {
331
+ const inboundTransactionPromise = waitForTransaction ( 'node-fastify' , transactionEvent => {
332
332
return (
333
333
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
334
334
transactionEvent . contexts ?. trace ?. data ?. [ 'http.target' ] === `/test-outgoing-fetch-external-disallowed`
0 commit comments