Skip to main content

Node.js Agent v0.4.94

March 7, 2024

  • Feature Added the socket.io monitoring module.

    Using the trace_sampling_enabled and trace_sampling_tps options, you can see the sampled data. Make it untraceable by adding the /socket.io path to the trace_ignore_url_prefix option.

    • trace_sampling_enabled Boolean

      Default false

      You can set whether or not to collect trace data samples.

    • trace_sampling_tps Number

      Default 1000

      You can set the trace data sampling count. The data exceeding the set count is not transmitted and is initialized every 1 seconds.

  • Feature Added the agent setting options.

    • profile_http_header_ignore_keys String

      Default Cookie,cookie,accept,user-agent,referer

      You can specify the HTTP header name to exclude from collection. The set HTTP header names are excluded from collection, and they are marked with "#."

    • profile_http_parameter_keys String

      Only the parameters corresponding to the set key are recorded. For multiple values, use comma (,) as the delimiter. If not specified, all parameters are recorded.

  • Changed In case the profile_http_parameter_enabled option is set to true

    • Modified not to output the body data of an HTTP request.
    • Modified to encrypt HTTP parameters and decrypt them with the paramkey.txt value.
    Note

    For more information about the profile_http_parameter_enabled option, see the following.

  • Fixed Fixed the Mongoose monitoring exception error.

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

  1. Unzipping the zip file

    unzip whatap.agent.nodejs.0.4.94.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.4.94.tgz