Skip to content

Commit cff9ea6

Browse files
committed
describe JVM CPU metrics
1 parent d7b7ab4 commit cff9ea6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

semantic_conventions/metrics/process-runtime-jvm-metrics.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ groups:
127127
metric_name: process.runtime.jvm.cpu.utilization
128128
brief: "Recent CPU utilization for the process."
129129
note: >
130-
The value range is [0,1].
130+
The value range is [0.0,1.0].
131131
This utilization is not defined as being for the specific interval since last measurement
132132
(unlike `system.cpu.utilization`).
133133
[Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()).
@@ -139,7 +139,7 @@ groups:
139139
metric_name: process.runtime.jvm.system.cpu.utilization
140140
brief: "Recent CPU utilization for the whole system."
141141
note: >
142-
The value range is [0,1].
142+
The value range is [0.0,1.0].
143143
This utilization is not defined as being for the specific interval since last measurement
144144
(unlike `system.cpu.utilization`).
145145
[Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()).
@@ -151,7 +151,7 @@ groups:
151151
metric_name: process.runtime.jvm.system.cpu.load_1m
152152
brief: "Average CPU load of the whole system for the last minute."
153153
note: >
154-
The value range is [0,n], where n is the number of CPU cores.
154+
The value range is [0,n], where n is the number of CPU cores - or a negative number of the value is not available.
155155
This utilization is not defined as being for the specific interval since last measurement
156156
(unlike `system.cpu.utilization`).
157157
[Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()).

0 commit comments

Comments
 (0)