When the app is deployed in Linux where perf counters are not supported, LiveMetrics logs Error levels trace messages, which are sent by DiagnosticModule to user's instrumentation key. This is likely noise.
Proposal is to detect OS platform and act accordingly.
PerfCounters were enabled for Windows in ..NET Core in the following PRs. https://github.com/microsoft/ApplicationInsights-dotnet-server/pull/1157 https://github.com/microsoft/ApplicationInsights-dotnet-server/pull/1148
When the app is deployed in Linux where perf counters are not supported, LiveMetrics logs Error levels trace messages, which are sent by DiagnosticModule to user's instrumentation key. This is likely noise.
Proposal is to detect OS platform and act accordingly.