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

Add metric for jvm memory usage after gc #2901

Merged
merged 7 commits into from
Nov 8, 2022

Conversation

jack-berg
Copy link
Member

@jack-berg jack-berg commented Oct 24, 2022

Resolves #2900.

Add new metric process.runtime.jvm.memory.usage_after_last_gc.

@jack-berg jack-berg requested review from a team October 24, 2022 18:56
@jack-berg
Copy link
Member Author

cc @open-telemetry/java-instrumentation-maintainers @open-telemetry/java-maintainers

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to drag this out. Do you think we can get away with spelling it process.runtime.jvm.memory.usage_after_gc maybe (last seemed redundant/given)? What about adding an optional attribute for the gc id?

@trask
Copy link
Member

trask commented Nov 3, 2022

Sorry to drag this out. Do you think we can get away with spelling it process.runtime.jvm.memory.usage_after_gc maybe (last seemed redundant/given)?

(guilty) see #2901 (comment)

memory_after_gc seemed ambiguous to me (e.g. is it the sum after each gc during the time period?), but definitely open to revisiting

@breedx-splk
Copy link
Contributor

memory_after_gc seemed ambiguous to me (e.g. is it the sum after each gc during the time period?), but definitely open to revisiting

Hah! Ok, let's stay the course. 🙊

@reyang reyang merged commit 374c34c into open-telemetry:main Nov 8, 2022
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Track JVM memory usage after GC
6 participants