Configuring the Node.js agent
You must add one or more plug-ins to your Node.js application and restart it before the agent can begin monitoring your application.
About this task
Node.js is a software platform that employs JavaScript for server-side solutions, these solutions are often used for receiving and
responding to HTTP requests. The Node.js agent can be used to measure and collect data about the performance of Node.js
applications. For example, throughput and response times for HTTP requests, and other measurements
that relate to resource usage, are monitored and stored for display and analysis. The Node.js agent is a single
instance agent. It registers subnodes for each monitored Node.js application.
Subnode name structure: NJ:hostname_port:NJA
Subnode name structure: NJ:hostname_port:NJA
Important: The Node.js agent does not support cluster application monitoring. It can only monitor a
Node.js application that listens on at least one port. If a Node.js application listens on multiple
port numbers, then the lowest port number is used for monitoring.
You must add one or more plug-ins to your Node.js application and restart it before
the agent can begin monitoring your application. These plug-ins, which are known as data collector
plug-ins, collect data that is forwarded to the Node.js agent. Currently, there are three data
collector plug-ins:
- The resource data collector plug-in collects resource monitoring data from your Node.js applications.
- The deep-dive data collector plug-in collects diagnostic data from your Node.js applications.
- The method trace data collector plug-in collects method traces from your Node.js applications.
Procedure
What to do next
- You can verify that the Node.js agent data is displayed in the Performance Management console.
- You can change the runtime behavior of Node.js monitoring plug-ins. For more information, see Node.js agent monitoring plug-in: Runtime configuration file