Node Auto Instrumentations not working correctly when deployed #4472
Unanswered
sambutler98
asked this question in
Q&A
Replies: 1 comment
-
The typical reason for this would be that something is causing the other libraries that would be instrumented to be loaded before the node SDK is started so there's no opportunity for the instrumentation package to monkey-patch the necessary libraries on their first import. I ran into this specifically with the instrumentation-bunyan package when the path that led to sdk.start() had already loaded the bunyan library. So audit very carefully what's happening particularly in your deploy environment that might be causing packages to get loaded before sdk.start() happens. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am having an issue where the nodeAutoInstrumentations are not being registered when I deploy my node.js application. The issue is the same as this question asked on StackOverflow: Node Auto Instrumentations not working correctly when deployed. Thought I could bring it to this forum to ask in case anyone knows what could be the problem. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions