Null
After the iMC front desk selects the application to be monitored, no resource usage is displayed in the dashboard. However, by viewing each application in the APM component, we can see the relevant resource usage informatio
It can be seen from the collected logs that there are no related errors reported by background components. Currently, we focus on the foreground web page. After checking the developer interface, we find that there are indeed related error messages reported by the foreground when adding monitoring, as shown below:
The figure shows that the foreground did not read the CDATA data information, so now there are two ideas, 1 is to check whether the background uploaded the relevant data, if the background uploaded the data is no problem, then check whether there is a problem in the foreground running the code.
First look at the background data: from the developer interface (F12), select Network to repeat the problem phenomenon (Setting to re-monitor the phenomenon, the phenomenon is not shown in any chart), and then from the developer interface Servertrend to check whether there are relevant CPU, Memory, Disk related Cdata data.
Copy the first line of code in the figure for analysis, in which the data content returned from the background can be found, as shown in the figure below:
At this time you can 100% rule out the background of the problem, can only be the front of the problem.
At this point, F12 jumps to the foreground Javascript code and debugs it line by line. After inspection, it is found that the code does not accurately identify the value to be monitored when processing the application that the user wants to monitor. By checking the features of the Javascript framework, it is found that special characters in the name are restricted to escape. However, there is no restriction on the space character (Javascript framework limits), and the space in Appname is escaped, which affects the code operation and makes it impossible to read the data. After modification, after removing the space in Appname, it can load the chart normally.
Remove the spacer character from Appname to display the chart as normal.