Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-01-2017 06:12 AM
Hi,
We have being using the virtual pages logging in the end user monitoring to give us very valuable information about our end users.
Recently we upgraded the angular ui-router from 0.4.2 to 1.0.6 and this has stopped virtual pages data from being recorded. From what I understand version 1.0 was a big change to the routing.
The company that I work for is using AppDynamics Version 4.3.5.7 and we are running on the Sass application that AppDynamics provides. I was wondering is there any plans to support the latest version of angular ui-router.
Any help with be greatly appreciated.
John.
10-26-2017 06:20 AM
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
12-13-2017 11:26 AM - edited 12-13-2017 11:40 AM
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.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form