功能
- [x] 🔨监听请求错误
- [x] 🔨console
- [x] 🔨路由跳转
- [x] 🔨代码报错
- [x] 🔨click、wx:tab、touchmove
- [x] 🔨资源加载错误
- [x] 🏅自定义上报错误
- [x] 🚀丰富的hooks与配置项支持可高定制化
- [x] 🌝支持IE8和安卓5以上
- [x] 👌持续迭代与更新
- [x] 完善的浏览器e2e和微信小程序e2e
- [x] 完善的单元测试(77%~coding)
- [x] 支持原生Web @tr-infra/pilot-browser
- [x] 支持Web框架(Vue3、Vue2、React@Next) @tr-infra/pilot-web
- [x] 支持原生微信小程序、支持uni-app等微信小程序框架 @tr-infra/pilot-wx-mini
- [x] 支持Web性能监控 @tr-infra/pilot-web-performance
- [x] 支持微信小程序性能监控 @tr-infra/pilot-wx-mini-performance
安装
web
使用npm
$ npm i @tr-infra/pilot-web
使用yarn
$ yarn add @tr-infra/pilot-web
web-performance
$ npm i @tr-infra/pilot-web-performance
使用yarn
$ yarn add @tr-infra/pilot-web-performance
wx-mini
使用npm
$ npm i @tr-infra/pilot-wx-mini
使用yarn
$ yarn add @tr-infra/pilot-wx-mini
使用指南
hooks与配置项
示例
收集信息平台展示
该SDK能收集哪些信息:下面这些例子给你一一展示: