Cloud platform web front-end performance monitoring method and system and medium
A cloud platform and performance technology, applied in hardware monitoring, program control design, program control device, etc., to achieve the effect of convenient deployment, simple probe installation and wide application range
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] The cloud platform web front-end performance monitoring method of the present invention writes the performance monitoring code based on JavaScript, and configures the monitoring code in the root interface of each product front-end code of the cloud platform in a probe mode, and monitors the cloud platform web front-end performance through the monitoring code, The monitoring code performs the following steps:
[0051] S100. Obtain webpage loading information through the performance attribute of windows, where the webpage loading information includes webpage performance indicators, time-consuming indicators, and static resource information;
[0052] S200. Obtain the browser information loading the current webpage through the built-in navigators object of windows;
[0053] S300, monitor and capture abnormal web page information through the onerror attribute of windows;
[0054] S400, through the onreadystatechange attribute of XMLHttpRequest and the get attribute of recon...
Embodiment 2
[0071] The cloud platform web front-end performance monitoring system of the present invention, the system is an application system based on the performance monitoring code written by JavaScript, and is configured in the root interface of each product front-end code of the cloud platform in a probe mode, and the system includes: webpage loading information Monitoring module, browser monitoring module, webpage exception monitoring module, backend request monitoring module and data uploading module, webpage loading monitoring module is used to obtain webpage loading information through the performance attribute of windows, and webpage loading information includes webpage performance indicators and time-consuming indicators And static resource information; the browser monitoring module is used to obtain the browser information and operating system information loading the current web page through the built-in navigators object of windows; the web page abnormal monitoring module is u...
Embodiment 3
[0087] An embodiment of the present invention also provides a medium, which is a computer-readable medium, and computer instructions are stored on the computer-readable medium. When the computer instructions are executed by a processor, the processor executes the method disclosed in Embodiment 1. Methods. Specifically, a system or device equipped with a storage medium may be provided, on which the software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU) of the system or device ) to read and execute the program code stored in the storage medium.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
