@xysfe/node-reporter

1.0.0 • Public • Published

node-reporter

提供node服务向企业微信告警的能力

下载

npm i @xysfe/node-reporter

使用方式

const reporter = require('@xysfe/node-reporter')

reporter.alarm({
  itilEventName: '',
  projectName: '',
  message: ''
})

告警消息示例

【itilEventName】【env】projectName message,当前值:1

alarm参数

param type default explain
itilEventName string '' 告警配置
projectName string '' 项目名
message string '' 告警消息

/@xysfe/node-reporter/

    Package Sidebar

    Install

    npm i @xysfe/node-reporter

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.01 kB

    Total Files

    3

    Last publish

    Collaborators

    • mucfe