Skip to main content

Node.js Agent v0.5.0

August 12, 2024

  • New Added the agent option to set the path of WhaTap agent log file.

    log_root String Default none

    • The logs folder is created under the path set in the log_root option, and the WhaTap log file is created in that folder.

    • If you set an agent option as in the following example, the path for creating the whatap log file is as follows:

      /Users/sample_user/workspace/nodejs_application/whatap_logs/logs/
      whatap.conf
      log_root=/Users/sample_user/workspace/nodejs_application/whatap_logs/
  • Feature Added the monitoring feature for the Node.js's built-in function, fetch.

  • Feature Added the Redis monitoring package (ioredis).

  • Changed Modified the name of the option to ignore the build file monitoring.

    • ignore_nextjs_build_file_enabledignore_build_file_enabled
    • ignore_nextjs_build_file_pathignore_build_file_path
  • Fixed Fixed the error where the value of the auto_oname_prefix option is applied as true even though it is false.

Info

NPM method Package Info: https://www.npmjs.com/package/whatap

  • Installation and application methods

    npm install whatap
Info

Local installation method Download Info: Node.js Agent v0.5.0

  1. Unzipping the zip file

    unzip whatap.agent.nodejs.0.5.0.zip -d /path/to/app_directory
  2. Installing WhaTap and its dependency package

    cd /path/to/app_directory 
    npm install crypto-1.0.1.tgz df-1.1.1.tgz long-3.2.0.tgz pidusage-1.1.0.tgz whatap-0.5.0.tgz