microsoft / ApplicationInsights-dotnet-server

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

Noisy Error level message when PerfCounter module is run in Web Apps for linux. #1178

Closed cijothomas closed 5 years ago

cijothomas commented 5 years ago

If you are reporting bug/issue, please provide detailed Repro instructions.

Repro Steps

  1. Deploy a app with defaults to Azure Web App Linux
  2. Start making requests.

Actual Behavior

There will be an error message logged to users ikey. @"Processors count has incorrect value: {0}. Normalized process CPU counter value will be reported as 0."

Expected Behavior

No error message with defaults.

This is not a bug, but rather a noise for linux web app customers. PerfModule should detect non-supported platform and stop sending this error trace.

lmolkova commented 5 years ago

fixed by @cijothomas in https://github.com/microsoft/ApplicationInsights-dotnet-server/issues/1189

cijothomas commented 5 years ago

Validated the fix with latest beta1 sdk. closing.