Skip to content

Commit 089f97c

Browse files
committed
update test
1 parent d992787 commit 089f97c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/e2e/opentelemetry/instrumentation/opentelemetry.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,10 @@ describe('opentelemetry', () => {
333333
traceId: env.span.traceId,
334334
parentId: env.span.rootParentId,
335335
runtime: 'nodejs',
336-
name: 'GET /app/param/rsc-fetch/edge',
336+
name: 'GET',
337337
kind: 1,
338338
attributes: {
339-
'next.span_name': 'GET /app/param/rsc-fetch/edge',
339+
'next.span_name': 'GET',
340340
'next.span_type': 'BaseServer.handleRequest',
341341
'http.method': 'GET',
342342
'http.target': '/app/param/rsc-fetch/edge',
@@ -468,10 +468,10 @@ describe('opentelemetry', () => {
468468
runtime: 'nodejs',
469469
traceId: env.span.traceId,
470470
parentId: env.span.rootParentId,
471-
name: 'GET /api/app/param/data/edge',
471+
name: 'GET',
472472
kind: 1,
473473
attributes: {
474-
'next.span_name': 'GET /api/app/param/data/edge',
474+
'next.span_name': 'GET',
475475
'next.span_type': 'BaseServer.handleRequest',
476476
'http.method': 'GET',
477477
'http.target': '/api/app/param/data/edge',
@@ -831,10 +831,10 @@ describe('opentelemetry', () => {
831831
runtime: 'nodejs',
832832
traceId: env.span.traceId,
833833
parentId: env.span.rootParentId,
834-
name: 'GET /pages/param/edge/getServerSideProps',
834+
name: 'GET',
835835
kind: 1,
836836
attributes: {
837-
'next.span_name': 'GET /pages/param/edge/getServerSideProps',
837+
'next.span_name': 'GET',
838838
'next.span_type': 'BaseServer.handleRequest',
839839
'http.method': 'GET',
840840
'http.target': '/pages/param/edge/getServerSideProps',
@@ -1100,10 +1100,10 @@ describe('opentelemetry', () => {
11001100
runtime: 'nodejs',
11011101
traceId: env.span.traceId,
11021102
parentId: env.span.rootParentId,
1103-
name: 'GET /api/pages/param/edge',
1103+
name: 'GET',
11041104
kind: 1,
11051105
attributes: {
1106-
'next.span_name': 'GET /api/pages/param/edge',
1106+
'next.span_name': 'GET',
11071107
'next.span_type': 'BaseServer.handleRequest',
11081108
'http.method': 'GET',
11091109
'http.target': '/api/pages/param/edge',

0 commit comments

Comments
 (0)