Right now, the way I usually do is:
1. OneAgent installed
2. Service Restart
3. Wait for application traffic goes into 'my web application'
4. After any request mapped to the newly created application, immediately go to the application setting and toggle the switch there to turn-it-off.
Is there any way I can disable it from the very beginning?
Solved! Go to Solution.
If you know the application URLs, you can create the application in Dynatrace before deployment (and setup appropriate web request rules) and turn RUM off on the newly created application. Or you can turn off RUM on the "My web application".