Comments (10)
你们对前端错误和白屏有解决方案吗?
你好,对于前端错误监控,可以接入sentry,传送门https://github.com/getsentry/sentry-javascript。
至于白屏的话,需要具体原因具体分析~,可以上报白屏时间,根据onload方法等可以统计白屏的时间。
from blog.
有没有code show?想看看实例
from blog.
你好,实例没有,公司项目不方便透露代码,我做的是是手埋的,也比较简单,就是统一接口。展示的话,参考友盟或者腾讯移动分析
from blog.
你们对前端错误和白屏有解决方案吗?
from blog.
有使用什么性能监控的库,来获取这些信息
from blog.
有使用什么性能监控的库,来获取这些信息
如果是性能数据的话,可以参考阿里云性能数据分析平台,不过是收费的。或者神策数据等平台的收费项目。开源的话,有解决方案,但是感觉不是特别的成熟。
from blog.
缺少干货
from blog.
缺少干货
确实,现在回头看我自己写的文章,确实这篇没什么干货,算科普文吧
from blog.
楼主请问下
- 我在上报时怎样实现在空闲时间上报,因为业务逻辑在跑的过程中按理来说我们要延迟上报时间~
- 还有本地缓存的话是使用indexDB吗,好像有听说PouchDB可以取代(没有实践过)
- 上报是通过image的src上报么?听说还有Beacon 这个api,但没使用过,不知道这两者哪个更适合
楼主有时间可否再分享下细节方面,因为前端监控这东西确实是看着很简单,但实践起来却不简单了
from blog.
楼主请问下
- 我在上报时怎样实现在空闲时间上报,因为业务逻辑在跑的过程中按理来说我们要延迟上报时间~
- 还有本地缓存的话是使用indexDB吗,好像有听说PouchDB可以取代(没有实践过)
- 上报是通过image的src上报么?听说还有Beacon 这个api,但没使用过,不知道这两者哪个更适合
楼主有时间可否再分享下细节方面,因为前端监控这东西确实是看着很简单,但实践起来却不简单了
其实这是一个系列的文章,
关于第三点可以参考我的另一篇文章#38
关于第二点,我们是通过文件形式保存,然后通过定时任务来取文件中的数据存入到db
关于低一点,空闲上报,场景不多,一般要延迟一点时间上报吧,我的第三点那篇文章也涉及一点
from blog.
Related Issues (20)
- Typescript中的内置类型以及内置类型的实现原理
- 聊一聊Typescript中与this相关的类型定义
- 转载申请 HOT 1
- 深入的聊一聊Typescript中的module和namespace
- 深入浅出浏览器中的ES modules
- Typescript代码整洁之道 HOT 1
- Node server typescript改造指南
- 深入浅出前端微服务及其实现原理 HOT 1
- skypack原理,如何快速实现comonjs到esm的转化
- 深入浅出svelte.js
- js打包时间缩短90%,bundleless生产环境实践总结 HOT 2
- 深入浅出pixi.js
- pixi.js源码阅读
- 深入浅出fabricjs
- 优雅的阅读fabricjs的源码
- 深入聊一聊__esModule HOT 1
- 深入谈谈React18.x
- 深入聊聊package.json HOT 4
- 深入浅出Nodejs中的大文件读写
- 如何优雅的使用tailwindcss
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.