elastic / elastic/apm-agent-nodejs
update fastify instr to avoid new deprecation warnings
Open
agent-nodejs
good first issue
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 244
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 16
Description
This change in fastify@4.23.0 adds a deprecation warning for accessing req.routerMethod and req.routerPath.
```
* 59050e57 - feat: access handler name add properties to req route options (#4470)
```
My guess (haven't tried yet) is that our instrumentation will cause deprecation warnings for users using this fastify and later. We should adjust to using the newer fields if available.
Contributor guide
Assessment
This issue has not been assessed yet.