In the APM document:
In following session
5.Add this property to the IntroscopeAgent.profile and set it to false:
We could not find the exact use of this property in this documentation. Please clarify this property meaning.
What is the use of property-
when instrumenting processes or applications that run outside of IIS?
You can use introscope.agent.dotnet.runInRestrictedMode=false when you need to disable some apps and enable others.
You can do it by pointing IIS app's web.config (app settings) to another agent profile with runInRestrictedMode=false and monitor only this specific app while keeping runInRestrictedMode=true in the org profile.
Here's an example.
You have multiple applications running in the same app pool and You’d like to disable monitoring on all the apps and keep data coming only for one of them.
1. Refer the app to be monitored to another agent profile by modifying web.config according to sample supplied with the .NET agent installer (Sample.exe.config):
<add key="com.wily.introscope.agentProfile" value="<PATH_TO_MY_CUSTOM_PROFILE>\\IntroscopeAgent.profile" />
2. Modify original agent profile to disable monitoring for all other apps:
3. Access any apps.
You should see data only for the app that has runInRestrictedMode=false or apps without this property, which is by default=false.