The Chinese version of
Introduction
Memeye is a lightweight NodeJS process monitoring tool that provides data visualization of process memory, V8 heap space memory, and operating system memory.
The front part, with Vue2 and ChartJS, provides a nice dynamic dashboard.
Memeye in the host process, only the implantation of a simple data collector, the other work is to start a child-process, by the child-process to carry out.
This will minimize the impact of Memeye’s code on the host process to ensure the authenticity of the data.
Feature
- Lightweight
- Simple
- For development
- Visualization
Note: Memeye only support a single process, NodeJS distributed process is not applicable, It is not recommended in the product environment.
Demo
Compatibility
- Node v7.x
- Node v6.x
How it works
Memeye has three core concept: Collector, Indicator and Dashboard.
While Collector runing in your nodejs process, Indicators and Dashboard runing on the child-process, in this way Memeye will make as little influence as possible to your nodejs process.
Indicator
Indicator like a state machine . When attribute changed, the instance of Indicator will emit an event. So we can use it to handle our indicators data of process, v8 heap and OS.
The commication between Collector, Indicator and Dashboard
Test
Simply run:
npm test
Copy the code
License
Copyright (c) 2016-2017 JerryC