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

Fix JMX metric name for G1GC old generation statistics. #231

Merged
merged 2 commits into from
Jun 26, 2019

Conversation

dpratt
Copy link
Contributor

@dpratt dpratt commented Jun 3, 2019

Fixes #230

@albertvaka
Copy link
Contributor

albertvaka commented Jun 4, 2019

Hi @dpratt! Thanks for your PR 😃

Can we be sure G1 Mixed Generation is not used in any JVM? Just to be confident this won't break something.

@dpratt
Copy link
Contributor Author

dpratt commented Jun 21, 2019

@albertvaka I can't say for sure that it isn't, but across OpenJDK Java 8, 9, 10, 11 and 12 it's referenced as "G1 Old Generation".

I heavily suspect that if it were to show up it would likely be mutually exclusive with the name referenced above - it couldn't hurt to have both of them in the default JMX config file for safety purposes.

@albertvaka
Copy link
Contributor

@dpratt can you change the PR to keep both the Mixed and Old names? It shouldn't hurt to have both, and it gives us the certainty that this is not a breaking change.

@dpratt
Copy link
Contributor Author

dpratt commented Jun 26, 2019

Done - I've pushed that change.

@albertvaka
Copy link
Contributor

Thanks a lot @dpratt, merging! 😄

@albertvaka albertvaka merged commit c398358 into DataDog:master Jun 26, 2019
@dpratt dpratt deleted the dpratt/fix-g1-metric-name branch June 26, 2019 18:56
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.

Incorrect name for G1GC old generation JMX metric
2 participants