Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Relic Solution: Profiler Log Says "This process (. . .) is not configured to be instrumented."


#1

This post is part of a series of posts designed to guide you through troubleshooting common issues in the .NET agent. For more context, please see <Troubleshooting with .NET agent log files>. If you were linked here directly, you should also take a look at the post I just linked to in order to make sure you’re looking at the log files that represent the application you are trying to monitor.

The issue

  • The .NET agent profiler log for your application’s process says This process (Path\To\Your\EXE) is not configured to be instrumented..

What it means.

  • The .NET agent has not been configured to target your application for monitoring.
  • The .NET agent does not target this type of application by default.
  • This most often occurs when trying to monitor non-IIS “service” applications.

The solution

Configure the agent to target your application. This can be done in one of the following ways.

  1. Edit the global newrelic.config file (C:\ProgramData\New Relic\.NET Agent\newrelic.config) and add the following as a child of the <configuration> element:
<instrumentation>
    <applications>
      <application name="YourExecutibleName.exe" />
    </applications>
</instrumentation>
  1. Edit your application’s app-config file (YourExecutibleName.exe.config) to include the following:
<configuration>
  <appSettings>
    <add key="NewRelic.AgentEnabled" value="true" />
  </appSettings>
</configuration>

Official Documentation


Relic Solution: Common .NET Agent Profiler Log Issues