effic-monitor
v1.0.4
Published
effic接口监控器
Downloads
1
Maintainers
Readme
effic 接口监控器,
- 可视化查看每一个接口请求,
- 监控全局错误信息
- 基于MIT协议开源
安转
npm install effic-monitor
使用
let effic = require("effic")
let monitor = require("effic-monitor")
const app = effic();
// 注册接口文档
// 100 为最大缓存日志数量,默认500
app.use("/monitor",monitor(100));
app.listen(9000, () => {
console.log("server is running");
});
- 访问 http://localhost:9000/monitor