cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Injection Using Nginx doesn't work

Anonymous
Not applicable

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.

eum.PNG

And the page has access to CDN correctly.

cdn.PNG

 

But nothing is being logged in the controller.

controller.PNG

 

Does anyone have any idea what it can be?

Thank you!

1 REPLY 1

Anonymous
Not applicable

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>'; 

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors