egg-console-agent
Install
$ npm i egg-console-agent --save
Usage
// {app_root}/config/plugin.jsexportsconsoleAgent = enable: true package: 'egg-console-agent';
Configuration
// {app_root}/config/config.default.jsexportsconsoleAgent = server: 'console-kl.netease.com' // connection ws 地址 appid: void 0 // appid secret: void 0 // secret cluster: 'online' // 集群名(默认使用 app.config.env);
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.