Troubleshooting your native module build

Steps to troubleshoot if you see "NO Data" in the Node VM tab

Problem statement: You are getting No Data under the garbage collection and event loop graphs such as GC Pause Time, GC Pause Frequency, and Event Loop Ticks Per Minute.
Prerequisite: The Node.js agent version should be 3.0.0 or higher.



Solution:
The APM Insight Node.js agent compiles the native module on your deployment platform using the node-gyp package.

Follow the below requirements of the node-gyp package, without which you will not get the GC and event loop metrics.
  1. Depending on your operating system, you must have the following:
    1. On Unix
      1. Python v3.7, v3.8, v3.9, or v3.10
      2. Make environment
      3. A proper C/C++ compiler toolchain, like GCC

    2. On macOS
      1. Python v3.7, v3.8, v3.9, or v3.10
      2. Xcode Command Line tools

    3. On Windows
      1. Python v3.7, v3.8, v3.9, or v3.10
      2. Visual C++ Build environment

  2. If your NPM version is 5.2.0 or higher, the NPX comes pre-bundled with it. So, for versions below 5.2.0, you must install NPX separately.
Even if your native module build fails, you will still get memory and CPU-related metrics, but not the GC and event loop metrics.

    • Related Articles

    • No data for service and process in Windows server monitor

      If you see "No Data" for process and service metrics (such as CPU or memory usage of monitored services) in the Site24x7 Windows server monitor user interface, follow the troubleshooting steps below. Run PowerShell Commands Open PowerShell as ...
    • Where are Site24x7's physical data storage regions located?

      Site24x7's integrated data centers are located in the US, European Union, India, China, Australia, and Japan. All Site24x7 customer-related data are stored in these physical storage regions. Data Center Primary Data Center Disaster Recovery Data ...
    • Site24x7 Real User Monitoring (RUM) - Data Collection

      When you include Site24x7 RUM beacon script in your web pages, the following data is collected. All data that's being collected is in accordance with GDPR compliance. Performance details of web page load time - Metrics like response time of web page ...
    • Troubleshoot the Unauthorized user (Error 401) when installing Tomcat plugins

      When installing Tomcat plugins, you may encounter the following error: Unauthorized user. Does not have permissions. HTTP Error 401: This error usually occurs when the user accessing the Tomcat Manager application does not have the necessary ...
    • Troubleshoot the Error 404 and Error 99 for RabbitMQ

      When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...