effic-monitor

1.0.4 • Public • Published

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");
});

Package Sidebar

Install

npm i effic-monitor

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

6.51 MB

Total Files

18

Last publish

Collaborators

  • songbai