https://github.com/thbgh/femonitor-thb
前端异常监控 SDK
https://github.com/thbgh/femonitor-thb
frontend monitor node
Last synced: 3 months ago
JSON representation
前端异常监控 SDK
- Host: GitHub
- URL: https://github.com/thbgh/femonitor-thb
- Owner: thbgh
- Created: 2022-04-13T03:52:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T03:08:04.000Z (over 3 years ago)
- Last Synced: 2025-10-07T04:48:12.664Z (10 months ago)
- Topics: frontend, monitor, node
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/femonitor-thb
- Size: 5.04 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 前端异常监控 SDK
## Feature
- 监控 js 运行异常
- 监控资源加载异常
- 监控接口请求异常
- 监控页面性能指标
- 日志服务采用阿里云的 SLS
- Rollup 打包
## Install
```nodejs
npm i femonitor-thb
```
## Usage
```js
injectJsError; // 监控js运行异常
injectXHR; // 监控接口请求异常
timing; //监控performance性能指标
startAll; //监控上述两种
```