Description
A new GcTimeMonitor class has been recently added, and the corresponding metrics added in JvmMetrics.java, line 190:
if (gcTimeMonitor != null) { rb.addCounter(GcTimePercentage, gcTimeMonitor.getLatestGcData().getGcTimePercentage()); }
Since GC time percentage can go up and down, a gauge rather than counter should be used to report it. That is, addCounter should be replaced with addGauge above.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-14960 Add GC time percentage monitor/alerter
- Resolved
- is related to
-
HBASE-19238 Port Hadoop's new GcTimeMonitor
- Resolved