Hi, I am setting up real user monitoring for one of my application using agentless approach and for best performance I am using "Inline Code" as my injection format from listed here - https://www.dynatrace.com/support/help/shortlink/rum-injection#anchor_manual-insertion
https://dynatrace-managed.com/e/XXXXXX-3cefefea6-drergfr-XXXX-XXXX/api/v1/rum/jsInlineScript/APPLICA...How do i use this in my application
Please let me know if anyone can advice.
Solved! Go to Solution.
To use this form of Agentless Real User Monitoring, you need to insert the API URL endpoint provided in your screenshot, with an applicable API token, into the build script of your application. This will then pull the latest version of the JS tag necessary for RUM.
Being that you are on Managed, this requires one of two scenarios:
1. A public IP with a valid SSL certificate on Cluster ActiveGate
2. A public facing load balancer or proxy in front of the Cluster ActiveGate, to then forward the request internally.
More information on this deployment models, along with diagrams, can be found here: https://www.dynatrace.com/support/help/shortlink/managed-deployment-scenarios#scenario-2-pure-dynatr...
Hope this helps!
Hi @ryan_ott Thank you very much for your response. We do have this set up in our environment. 2 Activate gates with a Load balancer in front and 2 managed nodes to send the traffic to. A public IP with a valid SSL certificate on Cluster ActiveGate. But when i try to retrieve the snippet by going into the application what i see is link of my Dynatrace managed which is https://dynatrace-managed.com/e/XXXXXX-3cefefea6-drergfr-XXXX-XXXX/api/v1/rum/jsInlineScript/APPLICA...
My load balancer with a public IP has a different domain which we call it as dtgate.XXX.co.uk but it is not showing up as you can see in the above screenshot.
Do i need to modify the URL generated and change the domain from managed to the load balancer and then use the same in the build script? Will that work? Something like this -