1.0.0-beta.0 • Published 5 years ago

anp-monitor v1.0.0-beta.0

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

analytics node profiler monitor

npm package NPM downloads Dependencies DevDependencies Gitter Codecov Issues need help

安装

rc-select

npm install anp-monitor --save-dev

使用

const monitor = require('anp-monitor');
monitor({
  title: 'Anp-Monitor',
  level: 2,
  prefix_http: '/monitor-prefix',
  port_http: 13333
});

options

optiondescribetypedefault value
title显示名String
levellogger levelNumber
prefix_httphttp 请求前缀String
port_httphttp portNumber13333