Skip to content

A SDK for web error and performance monitor。web前端错误及性能监控SDK,JS执行错误、请求异常、行为监控等

License

Notifications You must be signed in to change notification settings

reGuard/reGuard-sdk

Repository files navigation

a flexible front-end monitor SDK

left


简体中文 English

Quick Start

  1. Dependencies
npm install --save reguard-sdk
  1. Import sdk
ESM

import { Tracker } from "reguard-sdk";

Script

<script src="../node_modules/reguard-sdk/index.min.js"></script>

  1. 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

License

MIT

About

A SDK for web error and performance monitor。web前端错误及性能监控SDK,JS执行错误、请求异常、行为监控等

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •