BaptisteMahe / monitorest

An Express.js application monitor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monitorest

A lightweight monitor for express apps using Apache ECharts and Socket.io.

Inspired by express-status-monitor

monitorest client

Installation

npm install monitorest --save

Usage

To create a monitored express app:

import { monitorest } from "monitorest";
import express from "express";
const app = monitorest(express());

A realtime monitoring board will be available at /monitorest

Configurations

You can add configurations for the client:

import { monitorest } from "monitorest";
import express from "express";
const app = monitorest(express(), {
	auth: {
            username: process.env.monitorUser,
            password: process.env.monitorPassword
    }
});

About

An Express.js application monitor.


Languages

Language:JavaScript 46.7%Language:TypeScript 27.3%Language:HTML 14.3%Language:CSS 11.8%