1.0.0-beta.3 • Published 5 years ago

arms.js v1.0.0-beta.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

arms.js · GitHub license npm version npm downloads PRs Welcome

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, default process.env.NODE_ENV === 'production'

check docs for more options

Docs

开通 ARMS

API 使用指南

前端监控 SDK 配置项

Activate ARMS

API user guide

SDK configuration items