This page applies to an earlier version of the AppDynamics App IQ Platform.
See the latest version of the documentation.
You can enable and disable reporting of JavaScript and Ajax request errors.
You can configure which errors are included in the error count by specifying which errors to "ignore".
When enabled, JavaScript and Ajax request errors are reported throughout the Browser Monitoring UI: in the geo page, in the user stats browser and device dashboards, in the page list, and in browser snapshots.
"Ignored errors" are not really ignored. They are still tracked, but the error count in the places where error totals are reported on the user interface is not incremented
You can specify errors to ignore:
- by script and / or error message
- by page
- by URL
Access Error Detection Rules
- From the EUM application you are interested in, click Configuration.
- Click Web Page Naming, Error Detection, Thresholds, Percentiles etc. tab.
- Expand Configure Detection of JavaScript and AJAX Errors.
Enabling and Disabling Browser RUM Error Detection
In the Configure Detection of JavaScript and Ajax Errors screen:
- Check/clear the Enable JavaScript Error Capture check box to enable/disable JavaScript error display.
- Check/clear the Enable Ajax Request Error Capture check box to enable/disable Ajax error display.
If both check boxes are clear, no JavaScript or Ajax request errors are displayed.
Even if capture is enabled globally, you can configure certain errors to be ignored so that they are not counted in the error totals.
Configuring Rules to Ignore Errors based on Script or Error Message
You can configure the agent to ignore specific JavaScript errors that are identified by:
- a matching string pattern in the name of the script that generated the error
- line number in the script
- a matching string pattern in the error message
You can specify one, two or all three of these criteria. Configure more criteria to increase the granularity of which errors you ignore.
For example, the following configuration, in which all three fields are specified, means "Ignore all errors generated by line 27 of a script whose name starts with "Nightly" and whose error message contains the string "WARNING::".
If the line number was not specified (e.g. set to 0), the configuration would mean "Ignore all errors generated any line of a script whose name starts with "Nightly" and whose error message contains the string "WARNING::".
If neither the line number nor the error message field were specified, the configuration would mean "Ignore all errors generated by any line of a script whose name starts with "Nightly".
If the error message were the only field specified, the configuration would mean "Ignore all errors generated by any script when the error message contains the string "WARNING::".
To modify an existing ignore rule, select the rule in the list and click the edit icon.
To remove an ignore rule, select the rule in the list and click the delete icon.
Configuring Rules to Ignore Errors by Page
You can also ignore all errors generated by a specific page, iframe, or Ajax request.
Configure one rule for every page for which you want to ignore all errors.
To remove an ignore rule, select it in the list and click the minus icon.
Configuring Rules to Ignore Errors by URL
You can ignore all errors generated by a specific URL.
Configure one rule for every URL for which you want to ignore all errors.
To remove an ignore rule, select it in the list and click the minus icon.