20 Jul 2023 12:44 AM - last edited on 20 Jul 2023 09:35 AM by MaciejNeumann
Hello, I could use some help and guidance on how effectively can we monitor the single page application.
I have a SPA where we have the landing page URL which is a document and then the subsequent navigations are not loading whole document, just navigating within SPA but in Dynatrace when I am trying to monitor the session it is capturing that as a Page Change and I am not seeing any response time.
Screenshot below.
My question is why is Dynatrace behaving like this? Is this an expected behaviour? How can we log the response time of the pages?
Note - My application is built in Angular and we are using agentless RUM by inserting JavaScript into HTML pages.
Any advice or inputs are appreciated.
Best Regards,
Shashank
26 Jul 2023 01:12 PM - edited 26 Jul 2023 01:13 PM
Yes, this is expected.
You can try option: Prioritize load actions and use value of last detected.
it will potentially add load actions after Page change events(w/o warranty)
But in generally to capture true navigation timing you will need custom actions and custom logic.
In this case Dynatrace vs GA, GA is better. But this logic works "as designed"