Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Operational metrics for 128GB heap decider components #478

Merged
merged 3 commits into from
Oct 21, 2020
Merged

Conversation

ktkrg
Copy link
Contributor

@ktkrg ktkrg commented Oct 17, 2020

Fixes #:
#477

Description of changes:
This PR adds a few operational metrics of interest concerning the 128GB heap decider components. This change also fixes a potential div by 0 bug.

Tests:
Tests for the div by 0 bug is coming in the other PR - for evaluating GC type before running JVM tuning RCAs.

If new tests are added, how long do the new ones take to complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ktkrg ktkrg self-assigned this Oct 17, 2020
@ktkrg ktkrg changed the title 128g metrics Operational metrics for 128GB heap decider components Oct 17, 2020
@ktkrg ktkrg added the enhancement Enhancements to existing codebase label Oct 17, 2020
@ktkrg ktkrg requested review from yojs and sidheart October 19, 2020 18:12
@@ -100,6 +104,7 @@ protected int getFullGcEventsOrDefault(final double defaultValue) {

protected double getOldGenUsedOrDefault(final double defaultValue) {
if (heap_Used == null) {
StatsCollector.instance().logException(StatExceptionCode.MISCONFIGURED_OLD_GEN_RCA);
Copy link
Contributor

Choose a reason for hiding this comment

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

Name this one something different so we can tell it apart from line 81

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought one sparse metric was enough. Added them still, just to avoid confusion.

@ktkrg ktkrg requested a review from sidheart October 20, 2020 16:44
@khushbr khushbr merged commit 2ad585e into master Oct 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancements to existing codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants