AlexZ33 / lessions

自己练习的各种demo和课程
12 stars 2 forks source link

错误监控 #86

Open AlexZ33 opened 4 years ago

AlexZ33 commented 4 years ago

工具对比

image

sentry

Sentry支持SourceMap指引

https://blog.fritx.me/?2017/07/sentry-sourcemap-guide image

image

image 常见问题

如果某个已上报的错误,sourcemap没生效,并展示类似如下的信息: Remote file took too long to load: (15s, http://static-cdn.myservice.org/xxxxx/static/js/vendor.4d8c7ab2977e9bf547d8.js) 则可能是sentry没有及时获取到js(因为采用了不上传js到sentry的模式),导致sourcemap没及时生效 解决方法:等待该错误的下一次上报,会出现一个新的event,并且sourcemap生效。 https://forum.sentry.io/t/js-source-maps-issue/432/6

参考链接

AlexZ33 commented 3 years ago

Elastic APM

官方文档:https://www.elastic.co/guide/en/apm/get-started/current/agents.html

Elastic APM 是基于Elastic Stack 构建的应用性能监控系统。它能够: