From 5115a5dc8742108d1ac88eea684b00afeb26ac74 Mon Sep 17 00:00:00 2001 From: Carlos Alberto Cortez Date: Fri, 22 Apr 2022 16:51:25 +0200 Subject: [PATCH] Update JVM metrics with JMX Gatherer values. (#2478) --- .../semantic_conventions/runtime-environment-metrics.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/metrics/semantic_conventions/runtime-environment-metrics.md b/specification/metrics/semantic_conventions/runtime-environment-metrics.md index f4125337e..c08ce8986 100644 --- a/specification/metrics/semantic_conventions/runtime-environment-metrics.md +++ b/specification/metrics/semantic_conventions/runtime-environment-metrics.md @@ -67,6 +67,9 @@ All JVM metric attributes are required unless otherwise indicated. | | | | | | | pool | Name of pool [1] | | process.runtime.jvm.memory.max | Measure of max obtainable memory | Bytes | `By` | UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` | | | | | | | | pool | Name of pool [1] | +| process.runtime.jvm.threads.count | Number of executing threads | threads | `{threads}` | UpDownCounter | Int64 | | | +| process.runtime.jvm.classes.loaded | Number of classes currently loaded | classes | `{classes}` | UpDownCounter | Int64 | | | +| process.runtime.jvm.classes.unloaded | Number of classes unloaded since JVM start | classes | `{classes}` | UpDownCounter | Int64 | | | **[1]**: Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName())