How to enable or disable cloud detection in standalone Applications using .NET/.NET Core agent?
How to enable or disable cloud detection in standalone Applications using .NET/.NET Core agent?
Note:
This option is supported from APM Insight .NET/.NET Core agent version 6.5.1 onwards.
Below are the steps to enable or disable cloud detection in standalone environments:
1.
Open the
apminsight.conf
file in a text editor, which is located in the following directory:
For .NET:
C:\ProgramData\DotNetAgent
.NET Core
AgentDestinationPath>\DotNetCoreAgent\DotNetAgent
path
2. Add the key value shown below in a new line:
To enable:
ignore.cloud.detection=true
To disable:
ignore.cloud.detection=false
The default value is true.
3. Save the
apminsight.conf
file and perform an
IISRESET
or recycle the applications pools.