adrum.js in specific situations, either by adding on to the manual injection scripts, or, in the case of automatic or assisted injection, by having your web application insert the appropriate code.
You can add the custom configuration to the Controller UI and then generate the HTML snippet with your configuration.
To do so, follow the steps below:
- Open the Configuration page.
- Expand the Advanced section.
- Enter your custom configuration in the text area.
- Click Save Config & Generate HTML Snippet.
Set the Beacon URL for On-Premises Deployments
The beacon URL is used to transmit metrics about your application to the EUM Server. When you create a custom configuration, the URLs assigned to the variable
config.beaconUrlHttps in the HTML snippet must be the same as the URL assigned to the EUM property
eum.beacon.https.host in the Controller Setting page of the Controller Admin.
For example, the Controller Settings page shown below displays the URLs
appdynamics.controller.eum.beacon.https.hostname for the properties
In the HTML snippet containing your custom configuration, the variables
config.beaconUrlHttps shown below must have the same values as given in the Controller Settings of the Controller Admin. In the case that you're using multiple instances of the EUM Server, for example, one SaaS EUM Server and one on-premises EUM Server, you can modify the values to point to one of the EUM Servers.
Synchronous versus Asynchronous Script Load