Fine0830 edited a comment on issue #4228: Support Browser protocol at OAP URL: https://github.com/apache/skywalking/pull/4228#issuecomment-584989598 > @Fine0830 It is easy to say like that. Please take a look at the protocol, how to implement that? JS error has never been reported, we received error logs which you confirmed could be multiple. Probably, there are some gaps. It is definitive that client-js reports logs for one page in multiple times. There is a common scene. When user load one page, page report resource errors, then user continue view the page for a few minutes, finally user click one button, page report js errors. For the scene, when client-js catch errors and report to server at once. It's impossible to get all the errors at once, as user need to trigger events. Let's talk about JS error rate, we need to calculate PV. `JS error rate = PV(pv with JS error in specified time) / PV (total PV in specified time)` For PV with JS error in specified time, If server can't know which errors belong to which PV now, we can add a parameter to mark in error logs. After this, PV with JS error will be calculate. I think it is easy to calculate total PV in specified time.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
