AppDynamics Application Intelligence Platform
By default, AppDynamics enables the App Agent for .NET only for IIS worker processes. This topic describes how to edit the config.xml file to enable the agent for Windows services.
Before you enable the App Agent for .NET for Windows services, you must install the agent. We recommend using the AppDynamics Agent Configuration utility to perform basic configuration tasks.
Run the AppDynamics Agent Configuration utility to generate a config.xml. See Configure the App Agent for .NET.
Even though the Configuration Utility only instruments IIS Applications, it is useful to create the config.xml and specify Controller connection properties.
If you have previously instrumented app agents for IIS applications, don't run the configuration utility. You already have a config.xml.
Use the configuration utility to do the following:
Choose Manual for the method of tier generation and assignment. Don't assign assign any tiers for any IIS Applications. This disables instrumentation for all IIS applications.
Once you have configured the Controller properties for the App Agent for .NET, instrument your Windows service by adding an XML element for it to the config.xml.
Edit the config.xml file as an administrator. See Where to Configure App Agent Properties.
If you haven't instrumented IIS applications, the file contains minimal configurations for Controller connectivity and the machine agent. Verify the Controller properties and the Business Application name:
If you have already instrumented IIS applications, you see their configurations under the IIS element.
Add the Windows Services block as a child of the App Agents element. Create a Windows Service element for each Windows service you want to instrument. Use the Tier element to assign the instrumented service to a tier in the Controller. See App Agent for .NET Configuration Properties
Set the Windows Service element name attribute to the service name. The service name may not be the same as the display name in the Services panel of the Server manager.
This sample config.xml demonstrates instrumentation for a Windows service:
Restart the AppDynamics.Agent.Coordinator
Restart the Windows service.