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
05-06-2019 03:58 AM
I'm trying to use a javascript agent through Nginx injection, but it's not showing any events.
On my pages, the code is already being injected.
And the page has access to CDN correctly.
But nothing is being logged in the controller.
Does anyone have any idea what it can be?
Thank you!
Solved! Go to Solution.
05-06-2019 04:11 AM - edited 05-08-2019 06:02 AM
Using the code below has worked correctly:
'<head>
<script charset="UTF-8">
window["adrum-start-time"] = new Date().getTime();
(function(config){
config.appKey = "APP KEY";
config.adrumExtUrlHttp = "http://cdn.appdynamics.com";
config.adrumExtUrlHttps = "https://cdn.appdynamics.com";
config.beaconUrlHttp = "http://fra-col.eum-appdynamics.com";
config.beaconUrlHttps = "https://fra-col.eum-appdynamics.com";
config.xd = {enable : false};
})(window["adrum-config"] || (window["adrum-config"] = {}));
</script>
<script type="text/javascript" src="//cdn.appdynamics.com/adrum/adrum-4.5.7.1910.js"></script>';
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form