All Projects → GenFirst → Nest Status Monitor

GenFirst / Nest Status Monitor

Licence: mit
Simple, self-hosted module based on Socket.io and Chart.js to report realtime server metrics for Nest-based node servers

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Nest Status Monitor

Express Status Monitor
🚀 Realtime Monitoring solution for Node.js/Express.js apps, inspired by status.github.com, sponsored by https://dynobase.dev
Stars: ✭ 3,302 (+1808.67%)
Mutual labels:  socket, monitoring
angular-chat
Angular v.9, Node.js, Nest.js v.6, Mongoose, Socket.io, Passport, Angular Universal SSR (in progress...)
Stars: ✭ 35 (-79.77%)
Mutual labels:  socket, nest
Tcpprobe
Modern TCP tool and service for network performance observability.
Stars: ✭ 207 (+19.65%)
Mutual labels:  socket, monitoring
Tcpdog
eBPF based TCP observability.
Stars: ✭ 119 (-31.21%)
Mutual labels:  socket, monitoring
Apubplat
Devops自动化部署、堡垒机开源项目、Web Terminal
Stars: ✭ 167 (-3.47%)
Mutual labels:  socket
Dashbuilder
Dashboard composition tooling based on the Uberfire framework
Stars: ✭ 163 (-5.78%)
Mutual labels:  monitoring
Rtop
rtop is an interactive, remote system monitoring tool based on SSH
Stars: ✭ 1,963 (+1034.68%)
Mutual labels:  monitoring
Beats Docker
Official Beats Docker images
Stars: ✭ 162 (-6.36%)
Mutual labels:  monitoring
Ostent
Ostent is a server tool to collect, display and report system metrics.
Stars: ✭ 171 (-1.16%)
Mutual labels:  monitoring
Exceptionless
Exceptionless server and jobs
Stars: ✭ 2,107 (+1117.92%)
Mutual labels:  monitoring
Opencensus Web
A stats collection and distributed tracing framework
Stars: ✭ 168 (-2.89%)
Mutual labels:  monitoring
Github Monitoring
Monitor your GitHub Repos with Docker & Prometheus
Stars: ✭ 163 (-5.78%)
Mutual labels:  monitoring
Probequest
Toolkit for Playing with Wi-Fi Probe Requests
Stars: ✭ 167 (-3.47%)
Mutual labels:  monitoring
Https Ssl Cert Check Zabbix
Script to check validity and expiration of TLS/SSL certificate on site. May be used with Zabbix or standalone.
Stars: ✭ 162 (-6.36%)
Mutual labels:  monitoring
Gpustat Web
👓 A web interface of gpustat: monitor GPU clusters at a look
Stars: ✭ 171 (-1.16%)
Mutual labels:  monitoring
Chronicle Network
A High Performance Network ( TCP/IP ) Library
Stars: ✭ 162 (-6.36%)
Mutual labels:  socket
Hastic Grafana App
Hastic data management server for labeling patterns and anomalies in Grafana
Stars: ✭ 166 (-4.05%)
Mutual labels:  monitoring
Zabbix Haproxy
HAProxy Zabbix Discovery and Template
Stars: ✭ 169 (-2.31%)
Mutual labels:  monitoring
Patchman
Patchman is a Linux Patch Status Monitoring System
Stars: ✭ 163 (-5.78%)
Mutual labels:  monitoring
Pmm Server
PMM Server
Stars: ✭ 165 (-4.62%)
Mutual labels:  monitoring

nest-status-monitor

NPM

nest-status-monitor on npm npm Build Status Coverage Status License Edit nest-status-monitor

Simple, self-hosted module based on Socket.io and Chart.js to report realtime server metrics for Nest.js based node servers.

Status monitor page

Demo

Demo can be found here

Installation & setup Nest.js v6

  1. Run npm install nest-status-monitor --save
  2. Setup module:
@Module({
  imports: [StatusMonitorModule.setUp(statusMonitorConfig)],
  1. Run server and go to /status

Installation & setup Nest.js v5

  1. Run npm install [email protected] --save
  2. Setup module:
@Module({
  imports: [StatusMonitorModule.setUp(statusMonitorConfig)],
  1. Run server and go to /status

Run examples

  1. Go to cd examples/test-status-monitor
  2. Run npm i
  3. Run server npm start
  4. Go to http://localhost:3001

Options

Monitor can be configured by passing options object during initialization of module.

Default config:

pageTitle: 'Nest.js Monitoring Page',
port: 3001,
path: '/status',
ignoreStartsWith: '/health/alive',
spans: [
  {
    interval: 1, // Every second
    retention: 60, // Keep 60 datapoints in memory
  },
  {
    interval: 5, // Every 5 seconds
    retention: 60,
  },
  {
    interval: 15, // Every 15 seconds
    retention: 60,
  }
],
chartVisibility: {
  cpu: true,
  mem: true,
  load: true,
  responseTime: true,
  rps: true,
  statusCodes: true,
},
healthChecks: []

Health Checks

You can add a series of health checks to the configuration that will appear below the other stats. The health check will be considered successful if the endpoint returns a 200 status code.

// config
healthChecks: [
  {
    protocol: 'http',
    host: 'localhost',
    path: '/health/alive',
    port: 3001,
  },
  {
    protocol: 'http',
    host: 'localhost',
    path: '/health/dead',
    port: 3001,
  },
];

License

MIT License © Ivan Vasiljevic

Forked from express-status-monitor

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].