Skip to content

Commit 91922b6

Browse files
committed
Fix JVM composite bean definitions.
1 parent 230140a commit 91922b6

File tree

1 file changed

+29
-2
lines changed
  • instrumentation/jmx-metrics/src/main/resources/jmx/rules

1 file changed

+29
-2
lines changed

instrumentation/jmx-metrics/src/main/resources/jmx/rules/jvm.yaml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,30 @@ rules:
2727
prefix: jvm.memory.
2828
type: gauge
2929
mapping:
30+
HeapMemoryUsage.init:
31+
metric: heap.init
32+
desc: The initial amount of memory that the JVM requests from the operating system for the heap
3033
HeapMemoryUsage.used:
3134
metric: heap.used
3235
desc: The current heap usage
36+
HeapMemoryUsage.committed:
37+
metric: heap.committed
38+
desc: The amount of memory that is guaranteed to be available for the heap
39+
HeapMemoryUsage.max:
40+
metric: heap.max
41+
desc: The maximum amount of memory can be used for the heap
42+
NonHeapMemoryUsage.init:
43+
metric: nonheap.init
44+
desc: The initial amount of memory that the JVM requests from the operating system for non-heap purposes
3345
NonHeapMemoryUsage.used:
3446
metric: nonheap.used
35-
desc: The current non-heap usage
47+
desc: The current non-heap memory usage
48+
NonHeapMemoryUsage.committed:
49+
metric: nonheap.committed
50+
desc: The amount of memory that is guaranteed to be available for non-heap purposes
51+
NonHeapMemoryUsage.max:
52+
metric: nonheap.max
53+
desc: The maximum amount of memory can be used for non-heap purposes
3654
- bean: java.lang:type=MemoryPool,*
3755
unit: by
3856
prefix: jvm.memory.pool.
@@ -43,9 +61,18 @@ rules:
4361
CollectionUsage.used:
4462
metric: used_after_last_gc
4563
desc: Memory used after the most recent gc event
64+
Usage.init:
65+
metric: init
66+
desc: The initial amount of memory that the JVM requests from the operating system for the memory pool
4667
Usage.used:
4768
metric: used
48-
desc: Current memory pool used
69+
desc: The current memory pool memory usage
70+
Usage.committed:
71+
metric: committed
72+
desc: The amount of memory that is guaranteed to be available for the memory pool
73+
Usage.max:
74+
metric: max
75+
desc: The maximum amount of memory can be used for the memory pool
4976
- bean: java.lang:type=Threading
5077
unit: "1"
5178
prefix: jvm.threads.

0 commit comments

Comments
 (0)