diff --git a/src/main/resources/org/datadog/jmxfetch/new-gc-default-jmx-metrics.yaml b/src/main/resources/org/datadog/jmxfetch/new-gc-default-jmx-metrics.yaml index a59ed2987..d96202607 100644 --- a/src/main/resources/org/datadog/jmxfetch/new-gc-default-jmx-metrics.yaml +++ b/src/main/resources/org/datadog/jmxfetch/new-gc-default-jmx-metrics.yaml @@ -89,4 +89,15 @@ metric_type: counter CollectionTime: alias: jvm.gc.major_collection_time - metric_type: counter \ No newline at end of file + metric_type: counter +- include: + domain: java.lang + type: GarbageCollector + name: G1 Old Generation + attribute: + CollectionCount: + alias: jvm.gc.major_collection_count + metric_type: counter + CollectionTime: + alias: jvm.gc.major_collection_time + metric_type: counter