From 865ade4cd1f281e2ed2864e502d93b9299412826 Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 9 May 2023 10:22:48 +0200 Subject: [PATCH] describe JVM CPU metrics --- .../metrics/process-runtime-jvm-metrics.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml b/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml index 7efbdb824ff..6f6c9706db3 100644 --- a/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml +++ b/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml @@ -127,8 +127,10 @@ groups: metric_name: process.runtime.jvm.cpu.utilization brief: "Recent CPU utilization for the process." note: > + The value range is [0,1]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). + [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). instrument: gauge unit: "1" @@ -137,8 +139,10 @@ groups: metric_name: process.runtime.jvm.system.cpu.utilization brief: "Recent CPU utilization for the whole system." note: > + The value range is [0,1]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). + [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()). instrument: gauge unit: "1" @@ -146,6 +150,11 @@ groups: type: metric metric_name: process.runtime.jvm.system.cpu.load_1m brief: "Average CPU load of the whole system for the last minute." + note: > + The value range is [0,n], where n is the number of CPU cores. + This utilization is not defined as being for the specific interval since last measurement + (unlike `system.cpu.utilization`). + [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()). instrument: gauge unit: "1"