Frequently Asked Questions
Is the Data in the Tingyun Web Console Uploaded in Real Time?
The data in the Tingyun Web Console is uploaded in real time. There are four upload timings: after page load, after asynchronous Ajax request completion, when a JS error occurs, and when leaving the page.
What Data Does Tingyun Web Collect?
Browser basic information, page performance data (Navigation Timing API), JS error data, Ajax performance data, and page tracing data (Resource Timing API).
Can Tingyun Web Collect County-Level Regional Information?
Yes, Tingyun Web can collect data down to the county level.
What JS Error Information Can Tingyun Web Collect?
Error page or script URL, referring page URL, error message, error location: line number, column number, browser basic information.
Why Is the JS File Name Empty in Some JS Error Details?
In cross-domain situations, when a JS error occurs, an exception is thrown, but the Agent cannot monitor the file name of the exception. This can generally be ignored. For example, when calling an interface from another domain, the file name of the error cannot be monitored.
Why Does Firefox Show a Cross-Domain Warning When Accessing a Page with Tingyun JS?
This does not affect your page. Different browsers have different validation mechanisms, so some browsers will show a cross-domain warning.
Does the Tingyun Web Agent Have to Be Placed in the First Line of the Head Tag?
It is recommended to place it in the first line. Otherwise, data before the Agent JS will not be collected.
How Does Tingyun APM Automatically Inject the Tingyun Web JS Agent?
Tingyun adapts to mainstream application deployment containers such as Tomcat, Weblogic, and Glassfish, and injects code into key methods (request entry, response end). When these containers return response pages, the JS Agent is written into the head. For Tomcat, the APM Agent injects into the output class's write method, so the JS Agent is written when this method is executed.
What Is the Performance Overhead of Automatic JS Agent Injection by Tingyun APM?
Extensive lab data shows that automatic JS Agent injection has almost no impact on server performance.
Can Tingyun Web Collect Page Availability Data?
No. Tingyun Web uploads data after page load, after asynchronous Ajax request completion, when a JS error occurs, and when leaving the page. For example, if a page immediately returns 404, the JS Agent may not collect it, but this can be monitored by the Tingyun Network product.
How Is Ajax Monitoring Implemented?
Tingyun Web hooks the browser's XMLHttpRequest object.
How Is JS Error Monitoring Implemented?
Tingyun Web monitors window.onerror.