Hi, I need to install Dynatrace on my Apache server, but I would need the RUM to be turned off from the beginning. I just need the API response time, and I don’t want to be bothered with RUM.
The thing is, I will be doing it on the Production server and don’t want it to break anything.
1) Define the application and disable RUM for it: Application > Select the new applications > edit > disable Real User Monitoring
2) Disable the JS injection on the process group: technologies > select de process group > edit > disable JS injection ( if you have more that one instance of Apache on that process group, this will afect all of them).
It’s not possible in that way, but you can just disable default user application in dynatrace. In such case, RUM will work only for those that were already configured.
Based on my experience it is almost always safer to disable the RUM injection at the process group level. In that case, the RUM code does not get executed in the agent at all.
If you just define an application and disable real user monitoring for the application, the RUM code in the agent will still be active. If for any reason someone accesses web application that is not disabled via this apache http server, the RUM injection will happen.
Actually the Apache restart time matters. Process groups are discovered immediately after OneAgent installation. So you can disable it on the process group level just after OneAgent installation and before Apache server restart. That is probably the safest practice.
You need to define a web application with detection rules for the particular virtualhost and disable RUM on that virtual host. Also, make sure the web app detection rule is on the top. There is no alternative if you need RUM enabled on other hosts within the same Apache httpd process.