Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
06-14-2017 10:07 PM
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
06-15-2017 05:40 AM
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.
06-15-2017 06:50 AM
I have attached the HAR fie. Can you please have a look
06-15-2017 07:49 AM
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:
06-15-2017 09:59 AM
I have added the script tag as mentioned, but still I am not getting appdynamics agent in the source.
06-26-2017 12:48 AM
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
09-19-2017 03:13 AM
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.
09-19-2017 03:29 AM
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
09-19-2017 03:37 AM
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 ?
09-19-2017 04:07 AM
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
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form