Node.js agent is not reporting metrics

book

Article ID: 8182

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

 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.

Cause

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

Environment

CA APM 10.5 Node.js collector with local Node.js agents.

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.