monitor-point

1.0.0 • Public • Published

Introduction to monitor-point

monitor-point is a tool that provides web project performance monitoring and burying. Note: monitor-point reports information once every two minutes or automatically reports information when more than eight messages are reported

Install monitor-point

  npm install monitor-point
  //or
  yarn add monitor-point

user monitor-point

  import monitorInstance from 'monitor-point';
  
  let option = {
    url:"localhost:7272", required, Address for reporting the generic data
    user:"", // User's information
    projectId:"",  // web project id
    custom:"" // Fill in what you want to add
  };
  let instance =  new monitorInstance(option);

  
  // If you want to destroy the instance, You used the instance.destroy() method

  instance.destroy();

  // if you want to report something, You used the instance.setPort() method;

  instance.setPort(content)


  

Package Sidebar

Install

npm i monitor-point

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

9.65 kB

Total Files

3

Last publish

Collaborators

  • myalili