1.1.1 • Published 5 years ago

@gaoding/egg-hlg-metrics v1.1.1

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

egg-hlg-metrics

NPM version npm download

Install

npm i @gaoding/egg-hlg-metrics --save

Usage

// {app_root}/config/plugin.js
exports.hlgMetrics = {
  enable: true,
  package: '@gaoding/egg-hlg-metrics',
};

Configuration

// {app_root}/config/config.default.js
exports.hlgMetrics = {
  outputDebugLog: false, // 是否输出调试日志
  serverAddr: '', // 服务器地址
  appName: '', // 应用名称
};

see config/config.default.js for more detail.

Example

本插件自安装成功后,自动上报指标数据。

License

MIT

1.1.1

5 years ago

1.1.0

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago