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.
As Julius has explained, for your use case it is better to turn real user monitoring on only for specific applications with their URL patterns and turn it of for the default web application "My web application"
Hm.....so the trick is I gotta know the URL or the domain pattern before I even let the application request tell me. (Because if I turn off the RUM for 'my web application', I would get the URL pattern either).
Thanks guys, guess I need to ask the developer or app team to let me know it before-hand.