reguard-sdk
v1.0.1
Published
A SDK for web error and performance monitor。web前端错误及性能监控SDK,JS执行错误、请求异常、行为监控等
Downloads
3
Maintainers
Readme
简体中文 English
Quick Start
- Dependencies
npm install --save reguard-sdk
- Import sdk
import { Tracker } from "reguard-sdk";
<script src="../node_modules/reguard-sdk/index.min.js"></script>
- Initialization
new Tracker({
uuid: '', //uuid
historyTracker: true, //history report
requestUrl: '', // request url
FPTracker: true, // FP Tracker
FCPTracker: true, //FCP Tracker
DOMTracker: true, //DOM Tracker
jsError: true, //js Error Tracker
resourceError: true, //resource Tracker
screenTracker: true, //White screen Tracker
performanceIndex: true, // Browser performance Tracker
requestTracker: true, //request Tracker
});
Others
| Name | Description | | ----------- | ----------- | | reGuard-server | Data Server | | reGuard-admin-react | Monitor with React | | reGuard-admin-vue | Monitor with Vue |