End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

EUM stops logging virtual pages when we upgraded the angular ui-router

Highlighted
Employee

Re: EUM stops logging virtual pages when we upgraded the angular ui-router

Hi John,

 

Can you try the 'Manually Initializing the JavaScript Agent (Optional)' way from the doc that will ensure the js agent initializes after the angular bootstrap? if this does not work we can join a WebEx call tomorrow or on Monday to troubleshoot further.

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Producer

Re: EUM stops logging virtual pages when we upgraded the angular ui-router

Hi Gaurav,

 

Sorry for my late reply. I was on holidays for the last month so I only got back to working on this problem this week.

We tried to Bootstrap Angular using the 'Manually Initializing the JavaScript Agent (Optional)' method but that did not fix the virtual page logging problem.

 
I got a web developer to create a polyfill with the stateChange events that are missing from the 1.0.x release of the angular ui-router (angular-ui-router.js). So he added the "stateEvents.min.js" to our javascript application bundles library and now the virtual page logging is working again for us.

These hooks into the stateChange events are used by AppDynamics to capture virtual pages and these events are missing from the latest release of the angular ui-router.

 

 

Regards John.