cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

Question regarding javascript agent

selee
Adventurer

Question regarding javascript agent

My organization is trying to implement javascript agent.

i have two questions:

1. We have some applications that have apache as a reverse proxy. for those servers we are trying to use the mod_substitute module to auto inject the adrum.js. what is the recommendation in terms of hosting the adrum.js file. Since all of the apache servers are acting as a reverse proxy server, we cannot host any files on the apache server.

2. for Servers that don't have apache webserver, what is your recommendations in terms of autoinjecting the adrum.js file.

3. does apache mod_substitute work for ember applications as well?

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Question regarding javascript agent
1 REPLY 1
Gaurav.Soni
AppDynamics Team

Hi Selee,

 

1. We have some applications that have apache as a reverse proxy. For those servers, we are trying to use the mod_substitute module to auto inject the adrum.js. what is the recommendation in terms of hosting the adrum.js file? Since all of the apache servers are acting as a reverse proxy server, we cannot host any files on the apache server.

- You can pull our latest agent from https://cdn.appdynamics.com/adrum/adrum-latest.js if the server does not connect to the internet you will have to host it on the application server or your private CDN.

 

2. for Servers that don't have apache webserver, what is your recommendations in terms of autoinjecting the adrum.js file. 
- If your application is using jasper compiled JSPs then I will suggest using automatic injection 

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

else, manual injection is the way to go.

 

3. does apache mod_substitute work for ember applications as well?

- The injection should work but since there is no out of the box support for it. You will need to write additional code to use Javascript API to report the metrics back to EUM collector.

https://docs.appdynamics.com/display/PRO43/Manually+Reporting+Events+with+the+JavaScript+API

 

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.