Node.js agent is not reporting metrics

Document ID : KB000008182
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

 Installed Node.js collector agent and ca-apm-probe for Node.js.  The Node.js collector agent is reporting metrics into MOM but we are not seeing any Node.js app related metrics from the probe. In the Node.js agent log, we see that the probe was reporting a connection refused by the collector.

Environment:
CA APM 10.5 Node.js collector with local Node.js agents.
Cause:

 The probe is unable to connect to the specified address of the locally installed collector.

Resolution:

 Instead of using the external IP Address in the configured collector-agent-host value (e.g. an IP address such as 131.211.135.257), specify the loopback address instead - 127.0.0.1.