Splunk AppDynamics

Anyone monitoring Salesforce Application using Appdynamics End User Monitoring?

CommunityUser
Splunk Employee
Splunk Employee

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

Labels (1)

Amit_Jha
Path Finder

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma

Gaurav_Soni
Contributor

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

0 Karma

Nicolas_Martin
Engager

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. 

0 Karma

Stefano_Bertoli
Explorer

Hi Nicolas,

did you complete the Salesforce monitoring with AppDynamics javascript code?

Or do you confirm that is impossible to do it?

Thanks

Best regards

Sandor_Bihary1
Explorer

Hi All!

Any news in the topic?

0 Karma

Gaurav_Soni
Contributor

Hi Sandor,

Can you tell which of the below platform of 

 - Visualforce / Force.com Platform
- Salesforce Lightning Platform 
- Standard salesforce pages 


Regards,

Gaurav

Tags (2)

Sandor_Bihary1
Explorer

Hi Gaurav!

I have checked it. It seems the application will connect to the SF CRM API.

Gaurav_Soni
Contributor

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

0 Karma

Nicolas_Martin
Engager

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 ?

0 Karma

Gaurav_Soni
Contributor

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

0 Karma

Amit_Jha
Path Finder

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.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...