Skip to content

Commit fe9c6e1

Browse files
committed
Fix metric unit
1 parent b2967c8 commit fe9c6e1

File tree

1 file changed

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

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rules:
2323
unit: ms
2424
desc: The approximate accumulated collection elapsed time in milliseconds
2525
- bean: java.lang:type=Memory
26-
unit: by
26+
unit: By
2727
prefix: jvm.memory.
2828
type: gauge
2929
mapping:
@@ -52,7 +52,7 @@ rules:
5252
metric: nonheap.max
5353
desc: The maximum amount of memory can be used for non-heap purposes
5454
- bean: java.lang:type=MemoryPool,name=*
55-
unit: by
55+
unit: By
5656
prefix: jvm.memory.pool.
5757
type: gauge
5858
metricAttribute:
@@ -88,23 +88,23 @@ rules:
8888
TotalSwapSpaceSize:
8989
metric: jvm.system.swap.space.total
9090
type: gauge
91-
desc: The host swap memory size in bytes
92-
unit: by
91+
desc: The host swap memory size in Bytes
92+
unit: By
9393
FreeSwapSpaceSize:
9494
metric: jvm.system.swap.space.free
9595
type: gauge
96-
desc: The amount of available swap memory in bytes
97-
unit: by
96+
desc: The amount of available swap memory in Bytes
97+
unit: By
9898
TotalPhysicalMemorySize:
9999
metric: jvm.system.physical.memory.total
100100
type: gauge
101101
desc: The total physical memory size in host
102-
unit: by
102+
unit: By
103103
FreePhysicalMemorySize:
104104
metric: jvm.system.physical.memory.free
105105
type: gauge
106106
desc: The amount of free physical memory in host
107-
unit: by
107+
unit: By
108108
AvailableProcessors:
109109
metric: jvm.system.available.processors
110110
type: gauge

0 commit comments

Comments
 (0)