Instrument a Node.js Cluster

If your application uses the cluster module, place the appdynamics.profile require statement in both the primary and worker processes.

Running the Node.js Agent with the Java proxy does not require a manual launch of the proxy. Running the Node.js Agent with the Java proxy and an external process manager (such as PM2) for your application requires a manual launch of the proxy component.

See Share a Proxy Among Node.js Agents.