Skip to main content

Node.js Agent v0.5.1

August 28, 2024

  • New Added the agent option to create the agent name (ONAME) by adding the port number (e.g. NODE-14-103-3000).

    oname_port_postfix_enabled Boolean Default false

  • New Added the agent option for log monitoring.

    • logsink_enabled Boolean

      Default false

      Set whether or not to enable the log monitoring.

    • logsink_trace_txid_enabled Boolean

      Default true

      Set whether or not to expose the log tab of the transaction trace by inserting the transaction ID into the logs.

    • logsink_limit_content_enabled Boolean

      Default true

      Set whether or not to limit the maximum size for log messages.

    • logsink_limit_content_length Number

      Default 10,000

      Set the maximum length of the log message. This value is applied only when the logsink_limit_content_enabled option is set to true.

  • Fixed Modified to output an error message when an exception occurs while monitoring the fetch function in the global package.

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.1

  1. Unzipping the zip file

    unzip whatap.agent.nodejs.0.5.1.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.1.tgz