Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hua1995116/mcharts
:memo:一个前端监控系统。
https://github.com/hua1995116/mcharts
Last synced: 3 months ago
JSON representation
:memo:一个前端监控系统。
- Host: GitHub
- URL: https://github.com/hua1995116/mcharts
- Owner: hua1995116
- Created: 2017-12-01T02:50:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-08T12:02:47.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T04:14:01.791Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 453 KB
- Stars: 43
- Watchers: 4
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - mcharts
README
# mcharts
## 环境
node.js >= 6.0.0
redis >= 2.8.0
redis下载地址: https://redis.io/download
redis启动地址: https://www.cnblogs.com/shoren/p/redis.html
```
进入redis目录
winodws redis/64bit
mac redis/etc
一个窗口
redis-server redis.conf
另启一个窗口
redis-cli -h 127.0.0.1 -p 6379
```
## 功能- [x] 监控载入时间
- [x] 监控错误量
- [x] 监控浏览器分布情况
- [x] 监控载入时间数据异常发送邮件
## 第一步
打开监控对象
```
git clone https://github.com/hua1995116/mcharts.git
cd mcharts
npm install
node express.js
```
查看 http://127.0.0.1:3000/ (这里必须是127.0.0.1或者你主机ip地址为了给后续的ip收集使用)
## 第二步
可视化系统
```
cd charts
node index.js
```
查看 http://127.0.0.1:8888/