Configuring Application Filters Manually
Changes in APM Insight agent configuration
- Go to the APM Insight .NET Agent installation folder.
- Open DotNetAgent folder.
- Open appfilter.conf file and edit the following keys,
Example:use.app.filters=true (default)
use.apminsight.appnames=true (default is false)
include.app.names={json formatted appnames}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 data path,
%SystemDrive%\\ProgramData\\DotnetAgent - Agent data path for Windows server 2003,
%SystemDrive%\\Documents and Settings\\All Users\\Application Data\\DotNetAgent
- Agent data path,
- Restart the .NET Agent windows service to effect changes
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.