cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Michael.Perlstein
AppDynamics Team (Retired)

Assuming you are already successfully auto-injecting the EUM JavaScript Agent, the following steps can be used to turn on SPA2 monitoring.

Successful Auto-Injection - 1.png

 

1. From the User Experience tab, double-click on the EUM application you'd like to enable SPA2 monitoring for. You'll be directed to the application's Browser App Dashboard. 

Browser App Dashboard.png

 

2. Once you are on the Dashboard, select the Configuration sub-tab at the bottom left of the window. 

User Experience Configuration Sub-Tab.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3. Select the option to "Configure JavaScript Agent" (see the screenshot above).

  

4. Select the "Advanced" option.

Configure JavaScript Agent  - 1.png

  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5. Scroll down slightly to add the following custom configuration. 

(function(config){
    config.spa = {spa2:true};
})(window['adrum-config'] || (window['adrum-config'] = {})); 

 Configure JavaScript Agent - 2.png 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6.  Scroll down and click "Save Config & Generate HTML Snippet."

Configure JavaScript Agent - 3.png

 

 

 

 

 

 

At this point, your EUM application will now have the SPA2 configuration enabled for auto-injection. Please send a load of traffic to the pages that are instrumented with auto-injection until you are able to see the configuration update.

Version history
Last update:
‎08-15-2018 09:50 AM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here