diff --git a/src/main/java/org/elasticsearch/monitor/jvm/JvmStats.java b/src/main/java/org/elasticsearch/monitor/jvm/JvmStats.java index c4c488b5e6d..54545a790fd 100644 --- a/src/main/java/org/elasticsearch/monitor/jvm/JvmStats.java +++ b/src/main/java/org/elasticsearch/monitor/jvm/JvmStats.java @@ -73,6 +73,8 @@ public class JvmStats implements Streamable, Serializable, ToXContent { } else if (info.versionAsInteger() > 170) { defaultEnableLastGc = true; } + // always disable lastG, some reports it gives are strange... + defaultEnableLastGc = false; boolean enableLastGc = Booleans.parseBoolean(System.getProperty("monitor.jvm.enable_last_gc"), defaultEnableLastGc); if (enableLastGc) {