Tingyun Help center Tingyun Browser FAQ

FAQ

1. How to verify that Tingyun JS agent installation is successful?

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:

测试图片1

测试图片1

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.

测试图片1

测试图片1

测试图片1

2. Is the Tingyun Browser report data uploaded in real time?

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.

3. What kind of data does Tingyun Browser collect?

Browser basic information, page performance data( Navigation Timing API), JS error data, AJAX performance data and page tracing data( Resource Timing API).

4. Is it possible for Tingyun Browser to collect village and town level data?

No. Our data information includes country, province, city, these three levels.

5. What information of JS errors can be collected by Tingyun Browser?

Error page or script URL, reference page URL, Error Message, error location: line number, column number, browser basic information.

6. Why part of the JS file name in error details is empty? (See below)

测试图片1
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).

7. Why use Firefox to visit the page injected Tingyun JS, the Firefox console appears cross-domain prompt?

The prompt is as follows:
测试图片1
Cross-domain does not affect user page, because each browser verification mechanism is different, some browsers will prompt cross-domain while some will not.

8.Is it a must that Tingyun Browser manual code placed on the first line of the head tag?

We recommend on the first row, and if not, the data before the injection codes can not be collected.

9.Tingyun Server how to achieve Tingyun Browser agent automatic injection?

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.

10. The performance loss for Tingyun Server automatically injecting Tingyun Browser agent.

After comparing extensive laboratory data, we learned that the automatic agent injection almost no impacts on server performance.

11.Tingyun Browser how to record split-screen loading?

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.