JavaScript Agent Hosting Options
The adrum.js file is inserted into the page when it is downloaded from your web application. The adrum-ext.js (and adrum-xd.html when cross-domain session correlation is enabled) file is loaded asynchronously by the adrum.js file. By default, adrum-ext.js and adrum-xd.html are fetched by the highly available Amazon CloudFront CDN infrastructure.
There are three hosting options for the JavaScript Agent:
- Splunk AppDynamics CDN - All the JavaScript Agent files are from the host cdn.appdynamics.com . This is the simplest hosting option and ideal for testing.
-
Self-Hosting - You host all of the JavaScript Agent files. This option gives you the most control and is recommended for production.
- Shared Hosting - You host the main file adrum.js , but the other files that are loaded asynchronously are from the Splunk AppDynamics CDN. This choice offers control of the most important file of the JavaScript Agent and is ideal for small to medium-sized businesses that don't have the resources or prefer not to host the entire JavaScript Agent.
See Manual Injection of the JavaScript Agent for step-by-step instructions.