Splunk AppDynamics

Angular 10 - Virtual page load times increased

thespacerace
Explorer

We just updated our application from Angular 9 to Angular 10 last week and noticed that in our End User Monitoring data, we've seen a significant increase in all of our load times for our virtual pages (like a 5x increase on average from 3 seconds to 15+ seconds). It does not appear from an end user perspective that the page is loading any slower than it did previously, and when I look at examples of slow pages in EUM, I see large gaps in the resource waterfall where it appears nothing was going on. 

Going thru the EUM documentation, I saw that Angular 9 support was introduced back in June. I'm wondering if anyone else has seen issues after upgrading to Angular 10, and if there is any ETA on official support for Angular 10? Thanks.

Labels (1)
Tags (2)
0 Karma
1 Solution

thespacerace
Explorer

After trying some different ways to resolve this, we appear to have found an EUM config setting that has resolved this issue for us.

We added the following to the adrum config code in our Angular application:

config.isZonePromise = true;
 
After setting this, we are no longer seeing the inaccurate virtual page load times we had been previously. It's not clear why this resolved our issue.
 
This setting is referenced under the 'Fetch API Support for SPA2 Monitoring' heading in this document:
https://docs.appdynamics.com/display/PRO45/SPA2+Monitoring

View solution in original post

0 Karma

thespacerace
Explorer

After doing some more research, I have found that our virtual pages are including time from when the last base page was loaded. So somehow each virtual page after that has the same start time, so each one gets progressively worse as it seems that somehow AppD is starting the timer from the last time a base page was loaded. So if I go to 5 virtual pages after my last base page, each one appears to have the same "start time", so each page's timings gets progressively worse. Not sure what may have caused this other than our Angular 10 upgrade which is when the issue started with our application, but I'm not sure what in that release may have caused this.

thespacerace
Explorer

After trying some different ways to resolve this, we appear to have found an EUM config setting that has resolved this issue for us.

We added the following to the adrum config code in our Angular application:

config.isZonePromise = true;
 
After setting this, we are no longer seeing the inaccurate virtual page load times we had been previously. It's not clear why this resolved our issue.
 
This setting is referenced under the 'Fetch API Support for SPA2 Monitoring' heading in this document:
https://docs.appdynamics.com/display/PRO45/SPA2+Monitoring
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...