my-performance-tracker

1.0.2 • Public • Published

My Performance Tracker

Description

My Performance Tracker is an npm package designed to monitor real-time server performance metrics including CPU consumption, memory usage, server response time, and uptime. It provides a simple setup to get live updates on your server's health, making it easier to optimize and troubleshoot performance issues.

Features

  • Real-Time CPU Consumption: Monitor the CPU usage of your server in real-time.
  • Memory Consumption: Track how much memory your server is using.
  • Server Response Time: Get real-time data on the server's response time.
  • Uptime Tracking: Know how long your server has been running without downtime.

Installation

To install the package, run:

npm install my-performance-tracker

Usage

  • After installing the package, you'll need to add the following scripts to your project's package.json:
"scripts": {
  "postinstall": "cd node_modules/my-performance-tracker && npm install",
  "start-tracker": "cd ./node_modules/my-performance-tracker && npm run start-all"
}

Steps to Start Monitoring:

  • Post-Installation Setup: The postinstall script will ensure that all necessary dependencies for the tracker are installed.

  • Starting the Tracker: To start monitoring your server, run:

npm run start-tracker

This will launch the monitoring tools and begin tracking your server's performance metrics.

Author

Developed by Shubham Tiwari.

Package Sidebar

Install

npm i my-performance-tracker

Weekly Downloads

54

Version

1.0.2

License

ISC

Unpacked Size

347 kB

Total Files

52

Last publish

Collaborators

  • merakishubh