NodeJS probe metrics like FrontEnd and BackEnd are not displayed in the metric tree.

book

Article ID: 212069

calendar_today

Updated On:

Products

DX Application Performance Management

Issue/Introduction

The NodeJS Agent only displays metrics from the Infrastructure Agent (APMIA) and no metrics from the NodeJS Probe are displayed.

 

Cause

We see the following errors in the Infrastructure Agent logs:

3/30/21 05:44:41 AM GMT [ERROR] [IntroscopeAgent.InfrastructureAgent] Unable to load class nodejs
3/30/21 05:44:41 AM GMT [VERBOSE] [IntroscopeAgent.InfrastructureAgent] 
java.lang.ClassNotFoundException: nodejs

These errors indicate that there is no NodeJS extension loaded in the Infrastructure Agent. 

Environment

DX APM SaaS
NodeJS Agent

Resolution

 

Obtain the latest NodeJS agent distribution. You can either download this from the DX APM SaaS-> Agents-> Download Agent link or contact Broadcom Support for assistance.

Once you have the agent distribution, extract the tar file and get the NodeJS extension from the apmia/extensions/deploy directory (It will look something like nodejs-agent-5da65bd7xt16-21.1.0.25.tar.gz) and follow these steps:

1. Stop the APMIA (APMIACtrl.bat stop)
2. Copy the NodeJS Extension file file to your /apmia/extensions/deploy directory.
3. Edit the file /apmia/extensions/Extensions.profile and add NodeExtension to the introscope.agent.extensions.bundles.load= parameter. e.g.:

introscope.agent.extensions.bundles.load=NodeExtension

4. Save the file and start the AMPIA (APMIACtrl.bat start)

Check the NodeJS Agent for the probe metrics:

Attachments