We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b25933a commit 676ab4cCopy full SHA for 676ab4c
packages/next/src/server/route-modules/pages/pages-handler.ts
@@ -400,7 +400,7 @@ export const getHandler = ({
400
})
401
span.updateName(name)
402
} else {
403
- span.updateName(`${method} ${req.url}`)
+ span.updateName(`${method} ${srcPage}`)
404
}
405
406
} catch (err: unknown) {
@@ -722,7 +722,7 @@ export const getHandler = ({
722
tracer.trace(
723
BaseServerSpan.handleRequest,
724
{
725
- spanName: `${method} ${req.url}`,
+ spanName: `${method} ${srcPage}`,
726
kind: SpanKind.SERVER,
727
attributes: {
728
'http.method': method,
0 commit comments