Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test.describe('Lambda layer', () => {
'faas.execution': expect.any(String),
'faas.id': 'arn:aws:lambda:us-east-1:012345678912:function:LayerTracingCjs',
'faas.coldstart': true,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
},
op: 'function.aws.lambda',
origin: 'auto.otel.aws_lambda',
Expand Down Expand Up @@ -111,7 +111,7 @@ test.describe('Lambda layer', () => {
'faas.execution': expect.any(String),
'faas.id': 'arn:aws:lambda:us-east-1:012345678912:function:LayerTracingEsm',
'faas.coldstart': true,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
},
op: 'function.aws.lambda',
origin: 'auto.otel.aws_lambda',
Expand Down Expand Up @@ -234,7 +234,7 @@ test.describe('Lambda layer', () => {
'faas.execution': expect.any(String),
'faas.id': 'arn:aws:lambda:us-east-1:012345678912:function:LayerStreaming',
'faas.coldstart': true,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
},
op: 'function.aws.lambda',
origin: 'auto.otel.aws_lambda',
Expand Down Expand Up @@ -279,7 +279,7 @@ test.describe('Lambda layer', () => {
data: expect.objectContaining({
'sentry.op': 'function.aws.lambda',
'sentry.origin': 'auto.otel.aws_lambda',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'faas.id': 'arn:aws:lambda:us-east-1:012345678912:function:LayerCallback',
}),
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test.describe('NPM package', () => {
'faas.execution': expect.any(String),
'faas.id': 'arn:aws:lambda:us-east-1:012345678912:function:NpmTracingCjs',
'faas.coldstart': true,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
},
op: 'function.aws.lambda',
origin: 'auto.otel.aws_lambda',
Expand Down Expand Up @@ -97,7 +97,7 @@ test.describe('NPM package', () => {
'faas.execution': expect.any(String),
'faas.id': 'arn:aws:lambda:us-east-1:012345678912:function:NpmTracingEsm',
'faas.coldstart': true,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
},
op: 'function.aws.lambda',
origin: 'auto.otel.aws_lambda',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: `http://localhost:3030/test-outgoing-http/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-outgoing-http/${id}`,
'url.full': `http://localhost:3030/test-outgoing-http/${id}`,
Expand Down Expand Up @@ -102,7 +102,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
'sentry.origin': 'auto.http.otel.http',
'sentry.op': 'http.server',
url: `http://localhost:3030/test-inbound-headers/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-inbound-headers/${id}`,
'url.full': `http://localhost:3030/test-inbound-headers/${id}`,
Expand Down Expand Up @@ -194,7 +194,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: `http://localhost:3030/test-outgoing-fetch/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-outgoing-fetch/${id}`,
'url.full': `http://localhost:3030/test-outgoing-fetch/${id}`,
Expand Down Expand Up @@ -235,7 +235,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
'sentry.origin': 'auto.http.otel.http',
'sentry.op': 'http.server',
url: `http://localhost:3030/test-inbound-headers/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-inbound-headers/${id}`,
'url.full': `http://localhost:3030/test-inbound-headers/${id}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test.skip('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'http.host': 'localhost:3030',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction from module', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/example-module/transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/example-module/transaction',
'url.full': 'http://localhost:3030/example-module/transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction from module', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/example-module/transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/example-module/transaction',
'url.full': 'http://localhost:3030/example-module/transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test('Sends a transaction for a request to app router with URL', async ({ page }
'http.route': '/parameterized/[one]/beep/[two]',
'http.status_code': 200,
'http.target': '/parameterized/1337/beep/42',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'next.route': '/parameterized/[one]/beep/[two]',
}),
op: 'http.server',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test('Sends a transaction for a request to app router with URL', async ({ page }
'http.route': '/parameterized/[one]/beep/[two]',
'http.status_code': 200,
'http.target': '/parameterized/1337/beep/42',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'next.route': '/parameterized/[one]/beep/[two]',
}),
op: 'http.server',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test.skip('Sends a transaction for a request to app router with URL', async ({ p
'http.route': '/parameterized/[one]/beep/[two]',
'http.status_code': 200,
'http.target': '/parameterized/1337/beep/42',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'next.route': '/parameterized/[one]/beep/[two]',
}),
op: 'http.server',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ test('Should trace outgoing fetch requests inside middleware and create breadcru
'http.response.status_code': 200,
'network.peer.address': '::1',
'network.peer.port': 3030,
'otel.kind': 'CLIENT',
'sentry.kind': 'client',
'sentry.op': 'http.client',
'sentry.origin': 'auto.http.otel.node_fetch',
'server.address': 'localhost',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test('Sends a transaction for a request to app router with URL', async ({ page }
'http.route': '/parameterized/[one]/beep/[two]',
'http.status_code': 200,
'http.target': '/parameterized/1337/beep/42',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'next.route': '/parameterized/[one]/beep/[two]',
}),
op: 'http.server',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test('Sends a transaction for a request to app router', async ({ page }) => {
'http.route': '/server-component/parameter/[...parameters]',
'http.status_code': 200,
'http.target': '/server-component/parameter/1337/42',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'next.route': '/server-component/parameter/[...parameters]',
}),
op: 'http.server',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test('should trace orpc server component', async ({ page }) => {
'sentry.op': 'http.server',
'sentry.origin': 'auto',
'sentry.source': 'route',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'next.span_name': 'POST /rpc/[[...rest]]/route',
'next.span_type': 'BaseServer.handleRequest',
Expand Down Expand Up @@ -92,7 +92,7 @@ test('should trace orpc client component', async ({ page }) => {
'sentry.op': 'http.server',
'sentry.origin': 'auto',
'sentry.source': 'route',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'next.span_name': 'POST /rpc/[[...rest]]/route',
'next.span_type': 'BaseServer.handleRequest',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test('Should record a transaction for route with parameters', async ({ request }
'net.peer.ip': expect.any(String),
'net.peer.port': expect.any(Number),
'net.transport': 'ip_tcp',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'sentry.op': 'http.server',
'sentry.origin': 'auto.http.otel.http',
'sentry.sample_rate': 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test('Should record a transaction for route with parameters', async ({ request }
'net.peer.ip': expect.any(String),
'net.peer.port': expect.any(Number),
'net.transport': 'ip_tcp',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'sentry.op': 'http.server',
'sentry.origin': 'auto.http.otel.http',
'sentry.sample_rate': 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test('Should record a transaction for route with parameters', async ({ request }
'net.peer.ip': expect.any(String),
'net.peer.port': expect.any(Number),
'net.transport': 'ip_tcp',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'sentry.op': 'http.server',
'sentry.origin': 'auto.http.otel.http',
'sentry.sample_rate': 1,
Expand Down Expand Up @@ -144,7 +144,7 @@ test('Should record spans from http instrumentation', async ({ request }) => {
'net.peer.name': 'example.com',
'net.peer.port': 80,
'net.transport': 'ip_tcp',
'otel.kind': 'CLIENT',
'sentry.kind': 'client',
'sentry.op': 'http.client',
'sentry.origin': 'auto.http.client',
url: 'http://example.com/',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: `http://localhost:3030/test-outgoing-http/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-outgoing-http/${id}`,
'url.full': `http://localhost:3030/test-outgoing-http/${id}`,
Expand Down Expand Up @@ -102,7 +102,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
'sentry.origin': 'auto.http.otel.http',
'sentry.op': 'http.server',
url: `http://localhost:3030/test-inbound-headers/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-inbound-headers/${id}`,
'url.full': `http://localhost:3030/test-inbound-headers/${id}`,
Expand Down Expand Up @@ -194,7 +194,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: `http://localhost:3030/test-outgoing-fetch/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-outgoing-fetch/${id}`,
'url.full': `http://localhost:3030/test-outgoing-fetch/${id}`,
Expand Down Expand Up @@ -235,7 +235,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
'sentry.origin': 'auto.http.otel.http',
'sentry.op': 'http.server',
url: `http://localhost:3030/test-inbound-headers/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-inbound-headers/${id}`,
'url.full': `http://localhost:3030/test-inbound-headers/${id}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test.skip('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: `http://localhost:3030/test-outgoing-http/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-outgoing-http/${id}`,
'url.full': `http://localhost:3030/test-outgoing-http/${id}`,
Expand Down Expand Up @@ -102,7 +102,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
'sentry.origin': 'auto.http.otel.http',
'sentry.op': 'http.server',
url: `http://localhost:3030/test-inbound-headers/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-inbound-headers/${id}`,
'url.full': `http://localhost:3030/test-inbound-headers/${id}`,
Expand Down Expand Up @@ -194,7 +194,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: `http://localhost:3030/test-outgoing-fetch/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-outgoing-fetch/${id}`,
'url.full': `http://localhost:3030/test-outgoing-fetch/${id}`,
Expand Down Expand Up @@ -235,7 +235,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
'sentry.origin': 'auto.http.otel.http',
'sentry.op': 'http.server',
url: `http://localhost:3030/test-inbound-headers/${id}`,
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': `http://localhost:3030/test-inbound-headers/${id}`,
'url.full': `http://localhost:3030/test-inbound-headers/${id}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
'sentry.op': 'http.server',
'sentry.sample_rate': 1,
url: 'http://localhost:3030/test-transaction',
'otel.kind': 'SERVER',
'sentry.kind': 'server',
'http.response.status_code': 200,
'http.url': 'http://localhost:3030/test-transaction',
'url.full': 'http://localhost:3030/test-transaction',
Expand Down
Loading
Loading