Coder Social home page Coder Social logo

前端错误的收集、记录 about bat-ria HOT 14 OPEN

ecomfe avatar ecomfe commented on July 22, 2024
前端错误的收集、记录

from bat-ria.

Comments (14)

otakustay avatar otakustay commented on July 22, 2024

推荐er-track,现在支持的东西看这里,有啥需要可以提我们做通用的

from bat-ria.

Justineo avatar Justineo commented on July 22, 2024

OK,我先看看~

from bat-ria.

leeight avatar leeight commented on July 22, 2024

数据发送到哪里去的?我感觉希望是一个独立的组件/服务,可以实时的看到线上的error log记录

from bat-ria.

otakustay avatar otakustay commented on July 22, 2024

管家想用node架一个,不过还要和OP、RD等沟通

from bat-ria.

Justineo avatar Justineo commented on July 22, 2024

error log 可以像 AdInsight 一样在 JPAAS 上搭一个环境来记录,这个我们搭了自己看看就行了吧~

from bat-ria.

leeight avatar leeight commented on July 22, 2024

管家想用node架一个,不过还要和OP、RD等沟通

直接扔到jpaas上就好了,有啥要沟通的

from bat-ria.

leeight avatar leeight commented on July 22, 2024

给edp弄个issue记录一下吧,我抽空搭建一个去

from bat-ria.

ksky521 avatar ksky521 commented on July 22, 2024

webfe那边不是有解决方案吗?

from bat-ria.

leeight avatar leeight commented on July 22, 2024

没听说过,发来看看?

from bat-ria.

ksky521 avatar ksky521 commented on July 22, 2024

@leeight http://fe.baidu.com/doc/uxrp/hunter/dps-deploy.text

from bat-ria.

otakustay avatar otakustay commented on July 22, 2024

你们的方案都好重型……

ECOM的SPA程序大概有如下特点:

  1. 异常大部分被Promise吃掉了,普通的异常监控没用,甚至callstack都可能要特殊处理
  2. SPA系统不能监控页面打开时的性能,要监控每个controller的性能
  3. 点击事件等的监控必须按controller切分,全局监控完全没效果

因此注定只有自定主事件(其它统计)有用了……

我本来想的就是放个服务器,把发过来的数据以N小时(可配)为维度写到文件里,以天为单位建文件夹,事后再处理这些数据的,突然间就被你们讨论得如此高大上了……

from bat-ria.

leeight avatar leeight commented on July 22, 2024

我本来想的就是放个服务器,把发过来的数据以N小时(可配)为维度写到文件里,以天为单位建文件夹,事后再处理这些数据的,突然间就被你们讨论得如此高大上了……

那就这么来吧

from bat-ria.

leeight avatar leeight commented on July 22, 2024

简单来说可以这样子
jpaas上面放一个nginx,日志写入mfs(配置一下按照分钟级别分割),然后开发机定时任务读取mfs的日志,自定义任务处理,生成danshboard,结束。

from bat-ria.

otakustay avatar otakustay commented on July 22, 2024

嗯,把记录和处理分开,处理有很多事要做呢,比如把用户的访问路径转成可视化的图之类的,用crontab跑就行了

from bat-ria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.