title: No performanceCounters/Requests Data in azure Application Insights
body: <p>I have a web app running on prem (IIS) and I am trying to collect performance counters from it, although I have everything setup on my local and I am seeing all other types of telemetry in my Azure resource (requests, exceptions, traces) performance Counters are just not there,
  it is worth mentioning that I am running 2 more web applications (they all work together) under the same site and same applicationPool in IIS and they are collecting Performance counters just fine, they all use the same package that contains our Application Insights implementation. Something strange I have noticed is that, when I am serving the application from Visual Studio, all the telemetry goes through, even performance counters, but, when I try with an installed Instance of my webapplications (using our inhouse installer ) any request or perfCounter for this particular web application just won't work.</p>
  <p>I don't know what else to check, all 3 web applications should be collecting performance counters the same way since they are pretty much alike, and running under the same AppPool, same goes for requests.</p>
  <p>this is what my appInsights.config looks like:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;Add Type=&quot;Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector&quot;&gt;
        &lt;Counters&gt;
          &lt;Add PerformanceCounter=&quot;\Processor(_Total)\% Processor Time&quot; ReportAs=&quot;Processor Total - % Processor Time&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(??APP_W3SVC_PROC??)\% Processor Time&quot; ReportAs=&quot;W3SVC - % Processor Time&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(??APP_WIN32_PROC??)\% Processor Time&quot; ReportAs=&quot;Win32 - % Processor Time&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(??APP_CLR_PROC??)\% Processor Time&quot; ReportAs=&quot;CLR - % Processor Time&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(_Total)\Private Bytes&quot; ReportAs=&quot;Process Total - Private Bytes&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(??APP_W3SVC_PROC??)\Private Bytes&quot; ReportAs=&quot;W3SVC - Private Bytes&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(??APP_WIN32_PROC??)\Private Bytes&quot; ReportAs=&quot;Win32 - Private Bytes&quot;/&gt;
          &lt;Add PerformanceCounter=&quot;\Process(??APP_CLR_PROC??)\Private Bytes&quot; ReportAs=&quot;CLR - Private Bytes&quot;/&gt;
        &lt;/Counters&gt;
        &lt;!--
        Use the following syntax here to collect additional performance counters:
        
        &lt;Counters&gt;
        &lt;Add PerformanceCounter=&quot;\Process(??APP_WIN32_PROC??)\Handle Count&quot; ReportAs=&quot;Process handle count&quot; /&gt;
        ...
        &lt;/Counters&gt;
        
        PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
        
        NOTE: performance counters configuration will be lost upon NuGet upgrade.
        
        The following placeholders are supported as InstanceName:
        ??APP_WIN32_PROC?? - instance name of the application process  for Win32 counters.
        ??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters.
        ??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters.
        --&gt;
      &lt;/Add&gt;
  </code></pre>
  <p>few more details: AppInsights sdk 2.4
  .NetFramework 4.6.1</p>
  <p>Thanks, all help is welcome</p>