You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm initialising dd-trace from the instrumentaion.ts file of my NextJS app. I noticed nothing happened within the next plugin. For instance the following code didn't log anything:
Tracer Version(s)
5.42.0
Node.js Version(s)
22.14.0
Bug Report
I'm initialising dd-trace from the
instrumentaion.ts
file of my NextJS app. I noticed nothing happened within the next plugin. For instance the following code didn't log anything:So I tried to understand what was happening, and I added a log in
node_modules/dd-trace/packages/dd-trace/src/plugin_manager.js
:This log indicates classes for other plugins, but not for the next plugin:
I don't know why, but the result is that the plugin's hook is never called.
Reproduction Code
In
instrumentation.ts
of a NextJS 15.2.1 app:Error Logs
No response
Tracer Config
Operating System
Darwin Kernel Version 24.3.0
Bundling
Next.js
The text was updated successfully, but these errors were encountered: