End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

Highlighted

Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

I have added the RUM JS to the Lightning component of Salesforce, but its not showing any statistics. Can anyone shed some light into this issue

Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?
13 REPLIES 13
Highlighted
AppDynamics Team

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

If you are able to add the injection line to the html of the page, you will be able to monitor the page using End User monitoring. If you could share the HAR file here I will be able to provide more information if the injection is happening properly, the java script agent are loaded or not and if the beacons are getting posted successfully.

Highlighted

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

I have attached the HAR fie. Can you please have a look

Highlighted
AppDynamics Team

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

I do not see appdynamics java script agent being loaded in the HAR file. Checking the source of the page, I do not see any injection line as well for the instrumentation. Please make sure you are adding the injection line to the HTML content of the page as documented here:

https://docs.appdynamics.com/display/PRO43/Manual+Injection

Highlighted

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

I have added the script tag as mentioned, but still I am not getting appdynamics agent in the source.

Highlighted
AppDynamics Team

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

Hi,

 

Please attach the new HAR file for the request which you have instrumented. Also please attach the source (if possible) to show us how you are doing instrumentation. As Amit refered we could see the ADRUM JS agent in the source while reviewing last HAR file.

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
New Poster

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

Hi, 

Salesforce support told us that the Locker Service block external script call for security reason :

locker service : https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_code.htm).

 

But the Support told us that it might be possible to load the JS lib directly in Salesforce. 

Highlighted
AppDynamics Team

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

Hi Nicolas,

 

If the javascript agent is not injected into the page I will not expect the EUM data to show up. 

I am no salesforce expert but If Salesforce allows you to locally host and include javascript, you may download the adrum.js from https://cdn.appdynamics.com/adrum/adrum-latest.js and include it from your application domain.

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
New Poster

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

Hi Soni,

 

Perfectly agree with you concerning the missing inclusion, my point was that problem with CORS must be taken into account following the injection.

 

Have you any documentation concerning specifically Salesforce Commerce Cloud instrumentation ?

 

Highlighted
AppDynamics Team

Re: Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

Hi Nicolas,

 

Nothing specific to Salesforce Commerce Cloud but in general, https://docs.appdynamics.com/pages/viewpage.action?pageId=40077665 discuss how to make configurations to enable CSP, so your application is compatible with Browser RUM.

 

Regards,

Gaurav Soni



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