Specify Which WebJobs to Monitor
Use the APPDYNAMICS.PROCESSLIST environment variable to specify which WebJobs the .NET Agent monitors.
Environment Variable: APPDYNAMICS.PROCESSLIST
Type: Strings separated by "|"
Default: None. When undefined, the agent instruments all WebJob running in the app service. When defined, the .NET Agent instruments only the specified processes.
Required: No
Usage Cases:
- Environment 1: An Azure app service with no WebJobs, where the .NET Agent site
extension is installed and configured. After defining the environment variable
AppDynamics.ProcessList with the value
w3wp.exe, theDaasrunner.exeWebJob, which is a default WebJob that is added to all app services, is not instrumented. - Environment 2: An Azure app service, with two WebJobs,
webjob1.exeandwebjob2.exe, where the .NET Agent site extension is installed and configured. After defining the environment variable AppDynamics.ProcessList with the valuew3wp.exe, only the worker process serving the actual web app will be instrumented and no WebJobs will be instrumented. With the environment variable value set tow3wp.exe|webjob1.exe, the worker process serving the web app and the webjob1.exe are instrumented, but the webjob2.exe is not instrumented. With the AppDynamics.ProcessList removed from the App settings of the Azure app service, all the WebJobs, includingDaasrunner.exeare instrumented, including the worker process serving the web app.