arms.js
v1.0.0-beta.3
Published
Alibaba Cloud Application Real-Time Monitoring Service (ARMS).
Downloads
2
Readme
arms.js ·
Alibaba Cloud Application Real-Time Monitoring Service (ARMS).
前端监控专用, F2E only.
Installation
npm install arms.js --save
Usage
import arms from 'arms.js';
const __bl = arms({ pid: 'your pid', active: process.env.NODE_ENV === 'production' });
__bl.api( /* argv */ );
__bl.sum( /* argv */ );
Option
pid
string, required.active
boolean, defaultprocess.env.NODE_ENV === 'production'
check docs for more options