@dottoxd/statusmonitor-process
v1.0.3-2
Published
A free status monitor solution, used to show a nodejs process' resources usage. This is an early version. You can selfhost a [statusmonitor-server](https://github.com/DottoXD/statusmonitor-server) instance and connect those 2, you will get a beautiful st
Downloads
27
Readme
statusmonitor-process
A free status monitor solution, used to show a nodejs process' resources usage. This is an early version. You can selfhost a statusmonitor-server instance and connect those 2, you will get a beautiful status page that shows your nodejs process' stats.
important note
This project runs with fastify, pidusage and systeminformation
update 1.0.3
- first stable release
- (1.0.3) ping support
- (1.0.3) bug fixes
- typescript support
features
Every feature available in statusmonitor-client is available there too!
known issues
There are no known issues at the moment.
simple setup guide
You can easily setup statusmonitor-server in 2 steps!
Step one: install the package!
npm i @dottoxd/statusmonitor-process
Step two: configure your project! just 3 lines of code are needed for this to work!
Running with a new fastify instance:
const StatusMonitor = require("@dottoxd/statusmonitor-process")
const Monitor = new StatusMonitor.Process("Your application name", "DOCKER", "US", 3000);
const ProcessMonitor = Monitor.statsFetcher();
Running with an existing fastify instance
const StatusMonitor = require("@dottoxd/statusmonitor-process")
const Monitor = new StatusMonitor.Process("Your application name", "DOCKER", "US", 3000, fastify);
const ProcessMonitor = Monitor.statsFetcher();