G1 Old duration is empty at source
Closed this issue · 3 comments
sedulam commented
Something seems to be wrong with the G1 old generation duration metric. These are instant metrics from a cluster using G1. Although it gives the time for the young generation, the old is always zero.
jvm_gc_collection_seconds_count{gc="G1 Young Generation",} 13707.0
jvm_gc_collection_seconds_sum{gc="G1 Young Generation",} 2193.606
jvm_gc_collection_seconds_count{gc="G1 Old Generation",} 0.0
jvm_gc_collection_seconds_sum{gc="G1 Old Generation",} 0.0
VictorBHub commented
sedulam commented
@VictorBHub ah yes, I saw that post some time ago and dropped this issue. The problem seems to reside on the way that JMX exposes these metrics. The way it uses for CMS can't really be reused properly for G1. Fortunately, there is already a ticket for open JDK to change how G1 metrics are exported: https://bugs.openjdk.java.net/browse/JDK-8196989
I'm closing this issue.
revolyw commented
Is this issue still being followed up?