secvision

25.5.0 • Public • Published

Overview

The Node.js Agent monitor Nodejs application in production with real-time visibility of server health, server performance, and resource usage.

Install

Insert the following in the root directory of Node.js application:

npm install secvision

Or can use the next tag to get latest version:

npm install secvision@next

Or get specific version of the Node.js agent:

npm install secvision@<version>

Paste the following in application as the very first line of application source code:

require('secvision').profile({
  controllerHostName: '<controller host name>',
  controllerPort: <controller port number>,
  controllerSslEnabled: false,  // Set to true if controllerPort is SSL
  accountName: '<Secvision_account_name>',
  accountAccessKey: '<Secvision_account_key>',
  applicationName: 'your_app_name',
  tierName: 'choose_a_tier_name',
  nodeName: 'choose_a_node_name'
 });

Or create a shim.js file include above code:

require('secvision').profile({
controllerHostName: '<controller host name>',
controllerPort: <controller port number>,
controllerSslEnabled: false,  // Set to true if controllerPort is SSL
accountName: '<Secvision_account_name>',
accountAccessKey: '<Secvision_account_key>',
applicationName: 'your_app_name',
tierName: 'choose_a_tier_name',
nodeName: 'choose_a_node_name'
});

then set NODE_OPTIONS before starting nodejs application.

export NODE_OPTIONS="--require /opt/secvision/shim.js"


--




Package Sidebar

Install

npm i secvision

Weekly Downloads

4

Version

25.5.0

License

SEE LICENSE IN https://legal.secvision.com/SaaSandOnPremise_EULA.pdf

Unpacked Size

418 kB

Total Files

90

Last publish

Collaborators

  • appdcn