From 9d28e88aca6d2912cac20ec32634e412152cfe0f Mon Sep 17 00:00:00 2001 From: Andrea Marziali Date: Wed, 7 Aug 2024 16:19:53 +0200 Subject: [PATCH] Add IBM J9 gc metrics (#534) --- .../jmxfetch/new-gc-default-jmx-metrics.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) 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 1c31a7a7..2cb0f7ba 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 @@ -193,3 +193,49 @@ CollectionTime: alias: jvm.gc.minor_collection_time metric_type: counter +# IBM J9 gencon +- include: + domain: java.lang + type: GarbageCollector + name: scavenge + attribute: + CollectionCount: + alias: jvm.gc.minor_collection_count + metric_type: counter + CollectionTime: + alias: jvm.gc.minor_collection_time + metric_type: counter +- include: + domain: java.lang + type: GarbageCollector + name: global + attribute: + CollectionCount: + alias: jvm.gc.major_collection_count + metric_type: counter + CollectionTime: + alias: jvm.gc.major_collection_time + metric_type: counter +# IBM J9 balanced +- include: + domain: java.lang + type: GarbageCollector + name: partial gc + attribute: + CollectionCount: + alias: jvm.gc.minor_collection_count + metric_type: counter + CollectionTime: + alias: jvm.gc.minor_collection_time + metric_type: counter +- include: + domain: java.lang + type: GarbageCollector + name: global garbage collect + attribute: + CollectionCount: + alias: jvm.gc.major_collection_count + metric_type: counter + CollectionTime: + alias: jvm.gc.major_collection_time + metric_type: counter