-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Expose activation working set as a metric #8291
Conversation
reviewers fyi: dotnet/diagnostics#3542 |
Thank you for opening this! I believe we should use an observable counter for performance reasons, particularly since we are already tracking the count in an interlocked variable. |
Yeah, I was considering using |
For sure I could make that |
The way I see it is to make |
Good point, that is a limitation of how metrics work in .NET today. We don't expect coherent results when multiple silos are hosted within a single process and this problem exists with most of the other counters we publish. If/when .NET adopts a non-static model for counters, we can adjust our approach to accommodate. An alternative is to also have a global count property |
We should probably do this, too. |
Just a couple of observations made:
So I decided to fix major issue and proceed with current approach. |
This should resolve #8279.
Microsoft Reviewers: Open in CodeFlow