Has anyone run into a problem with turning on debugging with NodeJS? I added ("debug": true) in order to take a look at the logs and I'm getting an error now:
Looks like this is version 188.8.131.52 build 4893
Appdynamics agent cannot be initialized due to TypeError: Cannot add property clsDisabled, object is not extensible TypeError: Cannot add property clsDisabled, object is not extensible at Agent.init (/my_app/node_modules/appdynamics/lib/core/agent.js:194:27) at AppDynamics.self.(anonymous function) [as profile] (/ my_app /node_modules/appdynamics/lib/core/agent.js:575:26) at Object.<anonymous> (/ my_app /my.js:9:8) at Module._compile (internal/modules/cjs/loader.js:736:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:747:10) at Module.load (internal/modules/cjs/loader.js:628:32) at tryModuleLoad (internal/modules/cjs/loader.js:568:12) at Function.Module._load (internal/modules/cjs/loader.js:560:3) at Function.Module.runMain (internal/modules/cjs/loader.js:801:12) at executeUserCode (internal/bootstrap/node.js:526:15)
... View more
You are correct - I am trying to install 4.5.4 using npm. I tried switching to carbon-slim and got the same error. I removed libagent config and tried again and got a new error:
Appdynamics agent cannot be initialized due to Error: /development/docker/app/node_modules/appdynamics-protobuf/protobuf_for_node.node: invalid ELF header Error: /development/docker/app/node_modules/appdynamics-protobuf/protobuf_for_node.node: invalid ELF header at Object.Module._extensions..node (module.js:682:18) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at requireProtobufBinding (/development/docker/app/node_modules/appdynamics-protobuf/index.js:29:11) at Object.<anonymous> (/development/docker/app/node_modules/appdynamics-protobuf/index.js:33:18) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10)
I will try the download and give it a shot...
... View more
Is there an official recommendation for a base Docker image running NodeJs? We are trying to instrument a NodeJS application using an Alpine-based Docker image ( node:carbon-alpine ) and ran into problems launching the proxy. I've been trying to set it up as proxyless (libagent:true) but now I'm running into logging errors. I started thinking that perhaps we should switch to a different base image. Below is the logging error in case anyone has seen this before...
^ Log file removed by @Ryan.Paredez. We recommend that log files not be shared in the forums for security and privacy reasons
... View more