Regardless of the deployment method you use, the verification method is basically same:
See whether there is Tingyun Browser JS codes in the source codes of the monitoring page or streaming media play page, as shown below:
Note: Injecting Tingyun JS agent in a chain way requires that when requesting the chain, the return code is HTTP200 or HTTP304]
In order to further confirm whether there is data uploaded, you can open the developer tools in the browser to view the Network, to confirm whether there is the following three types interfaces when visiting the page and whether the relevant data is uploaded. If there is one or more interface and it also has uploaded data, then there should be relevant data in Tingyun Browser report to display: http://beacon-err.tingyun.com/err?..... is the interface for uploading page performance data; http://beacon-err.tingyun.com/err?..... is the interface for uploading JS error information; http://beacon.tingyun.com/xhr?...... is the interface for uploading AJAX request performance.
Tingyun Browser report data is to real-time upload, the data upload at four time: after the entire page loading, leaving the page, JS error occurs and Ajax request occurs.
Browser basic information, page performance data( Navigation Timing API), JS error data, AJAX performance data and page tracing data( Resource Timing API).
No. Our data information includes country, province, city, these three levels.
Error page or script URL, reference page URL, Error Message, error location: line number, column number, browser basic information.
In the case of cross-domain, js will throw exception once error occurs, but can not to monitor the exception of the file name. This error can generally be ignored. (For example: call other domain name interface throwing error, the file name of the error can not be monitored).
The prompt is as follows:
Cross-domain does not affect user page, because each browser verification mechanism is different, some browsers will prompt cross-domain while some will not.
We recommend on the first row, and if not, the data before the injection codes can not be collected.
Tingyun Server monitors the output of the application server, when the user opens the automatic injection function,Tingyun server will automatically inject Tingyun Browser agent in the application server output function.
After comparing extensive laboratory data, we learned that the automatic agent injection almost no impacts on server performance.
Tingyun Browser is based on the browser status to collect performance data. Each page request, when the end of the onload event is acquired, the event end time is defined as the page completion time. When asynchronous requests load again, the asynchronous requests are recorded in the AJAX data.