Hi We are trying out RUM agent for our angular web application Angular 10 applicaiton
configured by adding script tag in the index.html of our SPA.
We are checking the metrics being recorded and noticed that total page views does not change /updates as we keep on navigating the across application tabs and menus. The page views count updates only when we reload the complete application , i.e initial login is recoreded but not subsequent clicks .
It could be that the subsequent clicks does have any interesting events which would skip the agent from reporting those non interesting events to the APM server.
@vigneshshanmugam thank you for response.
will enable this and post my observations here.
we could see some events being sent tp apm server during user clicks or navigation on UI and some transactions getting logged at APM but on user experience no changes.
Thanks for the details, Should have been more clear the first time.
Page views refers to Hard Navigations or Hard reloads only and does not increment for any other type of transactions like SPA navigations or user click events. User Experience page accounts only for page-load transactions.
If your page views is not even increasing even with huge number of page-load transactions then it could be due to the less number of impressions/page views that the aggregation considers them to be too low. Trying to change the percentile or time range should change that. Let us know if that solves the issue.
Bit of history here, RUM was part of APM and you can still find all those different transaction types like page load, route-change and User interaction in the APM UI where you can analyze transaction duration which is eventually the load time duration of different transactions.
We are building the User Experience App specifically for RUM use case and kind of in the transition phase and currently only focussed on hard reloads as Core web vitals and other metrics would be applicable to those hard navigations and not for SPA and other transaction types. We are working on the next iteration which would bring in additional capability like exploring the data for different transactions and analysing the performance distribution.
I hope this is helpful. Let me know if you still have any questions.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.