cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is AppDynamics equivalent of New Relic's addPageAction

Dev.Priya
Creator

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

1 REPLY 1

Mohammed.Rayan
AppDynamics Team

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

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors