-
Notifications
You must be signed in to change notification settings - Fork 617
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority:p4Bugs and spec inconsistencies which do not fall into a higher prioritizationBugs and spec inconsistencies which do not fall into a higher prioritization
Description
Separating the issue reported here #1275 (comment)
What version of OpenTelemetry are you using?
@opentelemetry/[email protected]
What version of Node are you using?
v18
What did you do?
Instrumented node with fastify instrumentation, did a request to a non-existing page.
Can be reproduced by starting the fastify example and doing a request to any non-existent page
curl http://localhost:8080/i_do_not_exist
What did you expect to see?
No deprecation notices
What did you see instead?
(node:9) [FSTDEP017] FastifyDeprecation: You are accessing the deprecated "request.routerPath" property. Use "request.routeOptions.url" instead. Property "req.routerPath" will be removed in `fastify@5`.
Additional context
We are using the latest version of the intrumentation
and version 4.24.2 of fastify
So digging a bit further into it, I think it might when the requests are to not found pages. but then both request.routeOptions.url and request.routerPath are undefined.
mateus4k, Wazbat, dgreif, project0 and Fernandomr88
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:p4Bugs and spec inconsistencies which do not fall into a higher prioritizationBugs and spec inconsistencies which do not fall into a higher prioritization