简体中文 English
- Dependencies
npm install --save reguard-sdk
- Import sdk
ESM
import { Tracker } from "reguard-sdk";
Script
<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
});
Name | Description |
---|---|
reGuard-server | Data Server |
reGuard-admin-react | Monitor with React |
reGuard-admin-vue | Monitor with Vue |