-
Notifications
You must be signed in to change notification settings - Fork 296
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
[Instrumentation.Runtime] Update readme after inclusion of process.runtime.dotnet.gc.objects.size #772
Conversation
|
||
* [GC.GetTotalMemory](https://docs.microsoft.com/dotnet/api/system.gc.gettotalmemory): | ||
Retrieves the number of bytes currently thought to be allocated. | ||
The value is an approximate count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice to indicate that this value is not the snapshot from the last GC event, and also that this metric will be available irrespective of if a GC event has occured or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added in bd9b487
Count of bytes currently in use by objects in the GC heap that haven't been | ||
collected yet. | ||
Fragmentation and other GC committed memory pools are excluded. | ||
The value is available irrespective of GC events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not very clear statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated again in 12919a6.
I tried to be consistent with other metrics description.
Indication that value is not a snapshot is included in description of API used.
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Changes
Requested in #683 (comment)
Update
README.md
to reflect addition ofprocess.runtime.dotnet.gc.objects.size
metric.Key distinctions between
process.runtime.dotnet.gc.objects.size
and other heap size metrics as identified here included in metric description.