EUM and Analytics (Mobile, Metrics)

cancel
Showing results for 
Search instead for 
Did you mean: 

Stack Trace for JavaScript Error

SOLVED
Highlighted
Contributor

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. 

 

Stack Trace for JavaScript Error
5 REPLIES
Employee

Re: Stack Trace for JavaScript Error

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

Contributor

Re: Stack Trace for JavaScript Error

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

Contributor

Re: Stack Trace for JavaScript Error

Hi Chitra,

 

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

 

Thanks,

Abhinav Galodha

Employee

Re: Stack Trace for JavaScript Error

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

 

Contributor

Re: Stack Trace for JavaScript Error

Thanks Chitra,

 

I will try to explore into the analytics.