Hi,
I am migrating from New Relic to App Dynamics and want to know what would be the equivalent of New Relic's addPageAction? addPageAction is a very easy way to drop custom metrics from your web page and plot them on your dashboard. For example, if my single page application is built of lots of smaller modules and I want to know their usage and load times, I can call addPageAction with actionName as moduleLoaded and then add custom attributes like moduleName=foo loadTime=123456 and I can easily query and plot what are the average load times and how many views a particular module got.
How can I do something similar in AppDynamics?
Thanks
Hi dpriya,
You can add custom user data using the userEventInfo
object
userEventInfo: { PageView: function(context) { ... } } };
Refer the below docs that talks about it in detail
https://docs.appdynamics.com/display/PRO43/Add+Custom+User+Data+to+a+Page+Browser+Snapshot
Once you capture this user/custom data, you can then use web analyze option and plot it.
https://docs.appdynamics.com/display/PRO43/Browser+RUM+Analyze
Regards,
Mohammed Rayan