Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Web App Service - PerformanceCollectorModule, added counters not displaying #122

Open
williamjv9 opened this issue Aug 2, 2017 · 0 comments

Comments

@williamjv9
Copy link

williamjv9 commented Aug 2, 2017

I’m unable to get “Add PerformanceCounter” to work for our deployed Web App Services.

  1. I’ve added the SDK to my .Net (4.6.1) project via VS2017
  2. Installed https://www.nuget.org/packages/Microsoft.ApplicationInsights.PerfCounterCollector/
  3. Added a list of counters in ApplicationInsights.config
    Example list:
    Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count"
    Add PerformanceCounter="\Process(??APP_WIN32_PROC??)% Processor Time" ReportAs="Processor Time"
    Add PerformanceCounter="\Process(??APP_WIN32_PROC??)% Process CPU" ReportAs="Process CPU"
    Add PerformanceCounter=".NET CLR Exceptions(??APP_CLR_PROC??)# of Exceps Thrown / sec" ReportAs="CLR Exceps per sec"
    Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Private Bytes" ReportAs="Private Bytes"
    Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\IO Data Bytes/sec" ReportAs="IO Data Bytes"
  4. Deployed the service.
    

After following the above steps, the added counters don’t appear on the Metrics Explorer blade.

I do see some of the default counters populating; Server Requests, Server Response Time, Failed Requests, etc…

Server counters "\Processor(_Total)% Processor Time " and "\Memory\Available Bytes" don't populate and remain gray with ---

Any thoughts as to why I can’t get system level and custom counters to load?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant