-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppSignal logging a lot of fastify deprecation logs #961
Comments
I even created an issue for an update on dependencies but that didnt solve that issue. |
Which A workaround would be to downgrade to the Fastify version before these warnings were added. |
4.23.2 I don't see that as a workaround since I'm not depending directly on fastify but on packages (such as @nestjs/platform-fastify) that depend on fastify. If I disable AppSignal the errors stop, so the issue is coming from AppSignal itself and not third party packages. |
I see! May I suggest an override? With overrides, you can force your dependencies to use specific versions of their dependencies. On your {
// ...
"overrides": {
"fastify": "4.15.0"
}
} The warning first appeared in version
Correct! Well, specifically, from the |
So the correct solution to this is to talk to @opentelemetry guys and see what can be done, right? I mean, depending on an older version of fastify (sept 2022) may introduce bugs and/or vulnerabilities to my server that I don't desire. |
@Fernandomr88 That's part of it, yes. There is this GitHub issue upstream where they're looking into solving this issue and suggesting other workarounds. |
Also, note that you can use the |
I'll try to contribute there, in the meanwhile I'll use that env to suppress the warning. Also, in my opinion this issue should remain open until this problem is solved. AppSignal is the factor to produce those logs and this issue should be in your radar until solved by open-telemetry |
@unflxw seems like the fix is being merged. |
open-telemetry/opentelemetry-js-contrib#1829 it has been merged already. Any ETA to update this dependency? |
Hi @Fernandomr88! The update is still in the allowed version range, so running |
So, this is my console since I have started to use AppSignal, 2 months ago.
I'm using the
"@appsignal/nodejs": "^3.0.24"
version, and NestJS.It logs this once every minute or more:
[FSTDEP017] FastifyDeprecation: You are accessing the deprecated "request.routerPath" property. Use "request.routeOptions.url" instead. Property "req.routerPath" will be removed in
fastify@5.
Dependencies:
The text was updated successfully, but these errors were encountered: