Skip to content

Commit e929fda

Browse files
committed
Fix JVM composite bean definitions.
1 parent c678b10 commit e929fda

File tree

1 file changed

+32
-5
lines changed
  • instrumentation/jmx-metrics/src/main/resources/jmx/rules

1 file changed

+32
-5
lines changed

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

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,49 @@ 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:
31-
metric: heap
34+
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:
34-
metric: nonheap
35-
desc: The current non-heap usage
46+
metric: nonheap.used
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.
3957
type: gauge
4058
metricAttribute:
4159
name: param(name)
4260
mapping:
61+
Usage.init:
62+
metric: init
63+
desc: The initial amount of memory that the JVM requests from the operating system for the memory pool
4364
Usage.used:
44-
metric: usage
45-
desc: Current memory pool usage
65+
metric: used
66+
desc: The current memory pool memory usage
67+
Usage.committed:
68+
metric: committed
69+
desc: The amount of memory that is guaranteed to be available for the memory pool
70+
Usage.max:
71+
metric: max
72+
desc: The maximum amount of memory can be used for the memory pool
4673
- bean: java.lang:type=Threading
4774
unit: "1"
4875
prefix: jvm.threads.

0 commit comments

Comments
 (0)