Hello everybody!
I'm trying to use appdynamics in my docker container. I use node 4.4.0 and appdynamics agent version 4.1.10 with alpine docker image. When I use my app out of container, appdynamics recognize my app, but not inside.
process-0.json log from docker
{ "appName": "xxxxxxxx", "tierName": "xxxxxxxxx", "nodeName": "process-0", "controllerHost": "xxxxxxxxxxxxxxxxxxx", "controllerPort": 443, "sslEnabled": true, "accountName": "xxxxxxxxxxxxxx", "accountAccessKey": "xxxxxxxxxxxxxxx", "logs": { "out": [ { "msg": "agent.tmpDir = \"/tmp/appd/cca4cd7358baae2927a31d30602e9bdb\"", "t": "14-06-2016 14:38:35.852" }, { "msg": "agent.proxyCtrlDir = \"/tmp/appd/cca4cd7358baae2927a31d30602e9bdb/proxy/c\"", "t": "14-06-2016 14:38:35.854" }, { "msg": "Loaded native extention.", "t": "14-06-2016 14:38:35.857" }, { "msg": "launching proxy from master node 0", "t": "14-06-2016 14:38:35.859" }, { "msg": "ProcessScanner - snapshotCountResetPeriodMS: 60000", "t": "14-06-2016 14:38:35.876" }, { "msg": "ProcessScanner - autoSnapshotDurationSeconds: 10", "t": "14-06-2016 14:38:35.876" }, { "msg": "found cluster module", "t": "14-06-2016 14:38:35.886" }, { "msg": "found fs module", "t": "14-06-2016 14:38:35.887" }, { "msg": "found http module", "t": "14-06-2016 14:38:35.895" }, { "msg": "found https module", "t": "14-06-2016 14:38:35.902" }, { "msg": "found mongodb module", "t": "14-06-2016 14:38:36.055" }, { "msg": "found net module", "t": "14-06-2016 14:38:36.055" }, { "msg": "proxyArgs = [\n \"-d\",\n \"/install/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy\",\n "t": "14-06-2016 14:38:37.355" }, { "msg": "cmdLine = /install/node_modules/appdynamics/node_modules/appdynamics-proxy/proxy/runProxy -d /install/no "t": "14-06-2016 14:38:37.355" }, { "msg": "Proxy logging to: /tmp/appd/cca4cd7358baae2927a31d30602e9bdb/proxy/l", "t": "14-06-2016 14:38:37.360" }, { "msg": "Proxy spawned!", "t": "14-06-2016 14:38:37.360" }, { "msg": "starting control socket..", "t": "14-06-2016 14:38:40.869" } ], "err": [] } }
UPDATE:
With debug mode I have it too
2016-07-14T18:44:58.448684678Z appdynamics v4.1.10.0 (14-06-2016 18:44:58.448): Proxy spawned! 2016-07-14T18:45:08.439100696Z appdynamics v4.1.10.0 (14-06-2016 18:45:08.438): attempting to re-launch proxy... 2016-07-14T18:45:08.439155589Z appdynamics v4.1.10.0 (14-06-2016 18:45:08.438): launching proxy from master node 0 2016-07-14T18:45:08.441094864Z appdynamics v4.1.10.0 (14-06-2016 18:45:08.438): ERROR: no response on control socket