cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

Stack Trace for JavaScript Error

SOLVED
Abhinav.Galodha
Architect

Stack Trace for JavaScript Error

Is it possible to see the strack trace in case of Javascript Errors in EUM ?

 

I can see the details of Error like Script Origin, Line No. and Message. But can't find the stack Trace information in the AppDynamics Portal.

The stack Trace can provide additional useful details as to what function caused the error. 

 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Stack Trace for JavaScript Error
7 REPLIES 7
Chitra.Lal
AppDynamics Team

Hi Abhinav,

 

Unfortunately Not; we don't have this feature currently but this is a feature concept in our backlog. This is already being worked upon but I'm not sure when we'll get to it yet. 

 

As of now you can max see a JavaScript exception (with details likeScript Origin, Line No. and Message) and error summary under error message but not the full error stack trace. You can use Analytics to query your Browser Request event data and create a JavaScript exception and error summary dashboard by using a query like below:

 

SELECT scripterrordata.message, count(*) FROM browser_records WHERE scripterrordata.message IS NOT NULL

 

You can check the below doc link for quick refernce:

https://docs.appdynamics.com/display/PRO43/Visualize+JavaScript+Errors

 

 

Let me know in case you need further help.

 

 

Thanks,

Chitra



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Abhinav.Galodha
Architect

Thanks Chitra,

 

It is good to know that this feature is already on your backlog. I will try to explore the analytics tabs for getting the Javascript errors as mentioned below.

 

Thanks,

Abhinav Galodha

Abhinav.Galodha
Architect

Hi Chitra,

 

Which agent needs to be installed for running the Browser analytics?

 

Thanks,

Abhinav Galodha

Chitra.Lal
AppDynamics Team

Abhinav,

 

You would need an Analytics agent for this. Additionally this also needs you to have analytics license. Here are a few details about all this, how analytics works and what all things you need to use this feature:

 

https://docs.appdynamics.com/display/PRO43/Application+Analytics

https://docs.appdynamics.com/display/PRO43/Application+Analytics+Licenses

https://docs.appdynamics.com/display/PRO43/License+Entitlements+and+Restrictions

 

 

For browser analytics no extra configuration is needed after installation & configuration of the analytics components. If you have EUM data you should see Analytics data too. Directions for all this is contained in the above doc links, section: Installation and Administration

 

 

Pleaes go through them and let me know in case you have further queries. 

 

Thanks,

Chitra

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Abhinav.Galodha
Architect

Thanks Chitra,

 

I will try to explore into the analytics.

 

Chandra.Are
New Member

Hi - do we know if this feature is being worked on actively? 

Abhinav.Galodha
Architect

There is an alternative available to pass the stack trace information to the EUM server using the  ADRUM javascript API. 

 

1. Add an eventlistener for "onerror".

2. Create a virtual Page e.g. "Error" 
3. Create a UserData field to pass the Stack trace information,
4. Associate the UserData with the virtual Page.

5. Send the beacon to the EUM Collector.