microsoft / ApplicationInsights-dotnet-server

Microsoft Application Insights for .NET Web Applications
https://azure.microsoft.com/services/application-insights/
133 stars 67 forks source link

.Net Core PerfCounters from .Net Core/Asp.Net Core #1188

Closed cijothomas closed 5 years ago

cijothomas commented 5 years ago

There were a bunch of recent improvements which made us collect perf counters from Asp.net core/.net core.

  1. We support collecting perf counters from Windows based Azure App Services - Web Apps, Functions
  2. We support collecting perf counters from Windows VMs.

Next in line is to tackle is supporting perf counters in non-windows environments like Linux, Linux App Service etc.

Overall roadmap is something like: Start collecting process level CPU and Memory metric in X-Platform way. Start collecting more counters from the new .Net Core .2.2 ("Microsoft-Windows-DotNETRuntime" EventSource). This will give visibility into GC/ThreadPools etc, again in X-Platform way. Start collecting EventCounter based eventsm which are also X-Platform https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.Tracing/documentation/EventCounterTutorial.md https://devblogs.microsoft.com/dotnet/introducing-diagnostics-improvements-in-net-core-3-0/

This issue is opened to track overall story. Will create child issues for specific enhanements.

cijothomas commented 5 years ago

1222 added event counter suport. closing this.