Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApplicationInsights integration uses performance counter from another w3wp #2876

Open
SergeyZubatkin opened this issue Jun 7, 2024 · 0 comments
Labels

Comments

@SergeyZubatkin
Copy link

  • Microsoft.ApplicationInsights 2.21.0
  • Runtime version: net462
  • Hosting environment: Windows - IIS

To Reproduce

We have 30+ ASP.NET Framework apps running on the same IIS.
Only one app has ApplicationInsights enabled, other apps have no connection string at all.
We use performanceCounters - "Private Bytes" to monitor memory consumption by the App.
At some point AppInsights integration starts sending wrong value to the Azure, value from another w3wp process, e.g. metrics logs with instance: w3wp#34, but this w3wp process is from another application pool (identified by Performance Monitor).
after stopping all applications besides that one with enabled ApplicationInsights value is backed to right value (same as in Task Manager for this process)
Looks like there is a bug in identifying right perf counter for running process inside Microsoft.ApplicationInsights.PerfCounterCollector

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

No branches or pull requests

1 participant