Configuring Application Filters Manually
.NET Agent v2.0 and above - Changes in agent configuration
- Go to the APM Insight .NET Agent installation folder.
- Open DotNetAgent folder.
- Open appfilter.conf file and edit the following keys,
use.app.filters=true (default)
use.apminsight.appnames=true (default is false)
include.app.names={json formatted appnames}
Example:
include.app.names = { "Default Web Site/" : "ServerRoot", "Default Web Site/Services/wcf1" : "Service1", ... }
- Copy this appfilter.conf file and paste it in the following location
-
-
Agent below v2.3
- For 64-bit agent
%SystemDrive%\\ProgramData\\DotnetAgent\\x64
- For Windows server 2003, the corresponding path will be in
%SystemDrive%\\Documents and Settings\\All Users\\Application Data\\DotNetAgent\\x64
- For 32-bit agent
%SystemDrive%\\ProgramData\\DotnetAgent\\x86
- For Windows server 2003, the corresponding path will be in
%SystemDrive%\\Documents and Settings\\All Users\\Application Data\\DotNetAgent\\x86
- In case of multimonitors, all sub folders in the above locations.
- Restart the .NET Agent windows service to effect changes
Agents below v2.0-Changes in IIS Manager
- Launch IIS Manager.
- Select web application
- For IIS 7.0 and above, Go to Application Settings section & add the following key value pair. This is required to avoid conflicts in application names.
key = apminsight.appname
value = <custom application name> (Use this name in configuration file)
- For IIS version 6.0, open the web.Config file and edit <appSettings> section as follows.
<appSettings>
<add key="apminsight.appname" value="<custom application name>"/>
...
</appSettings>
- Save the web.Config
- Repeat the steps for all applications to be monitored.
Agents below v2.0-Changes in Agent configuration
- Go to the APM Insight .NET Agent installation folder.
- Open DotNetAgent folder.
- Open apminsight.conf file and edit the following keys,
use.app.filters=true (default)
use.apminsight.appnames=true (default is false)
include.app.names=<comma seperated appnames>
- Provide the app names exactly as given in the appSettings section
- Copy this apminsight.conf file and paste it in the following location:
- For 64-bit agent
%SystemDrive%\\ProgramData\\DotnetAgent\\x64
For Windows server 2003, the corresponding path will be in
%SystemDrive%\Documents and Settings\All Users\Application Data\DotNetAgent\x64\
- For 32-bit agent
%SystemDrive%\\ProgramData\\DotnetAgent\\x86
For Windows server 2003, the corresponding path will be in
%SystemDrive%\Documents and Settings\All Users\Application Data\DotNetAgent\x86\
In case of multimonitors, all sub folders in the above locations.
- Restart the .NET Agent windows service to effect changes.