From eb686b9c361a30105d769353f7888338719576c4 Mon Sep 17 00:00:00 2001 From: gregor Date: Wed, 7 Jun 2023 18:11:41 +0200 Subject: [PATCH] fix the unit of metric.process.runtime.jvm.system.cpu.load_1m to be "{core}" --- semantic_conventions/metrics/process-runtime-jvm-metrics.yaml | 2 +- .../semantic_conventions/runtime-environment-metrics.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml b/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml index 946d0f6e6c..979b287618 100644 --- a/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml +++ b/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml @@ -156,7 +156,7 @@ groups: (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" + unit: "{core}" - id: attributes.process.runtime.jvm.buffer type: attribute_group diff --git a/specification/metrics/semantic_conventions/runtime-environment-metrics.md b/specification/metrics/semantic_conventions/runtime-environment-metrics.md index 04de405dda..5f40d0103d 100644 --- a/specification/metrics/semantic_conventions/runtime-environment-metrics.md +++ b/specification/metrics/semantic_conventions/runtime-environment-metrics.md @@ -335,8 +335,8 @@ This metric is obtained from [`OperatingSystemMXBean#getSystemLoadAverage()`](ht | Name | Instrument Type | Unit (UCUM) | Description | -| -------- | --------------- | ----------- | -------------- | -| `process.runtime.jvm.system.cpu.load_1m` | Gauge | `1` | Average CPU load of the whole system for the last minute. | +| -------- | --------------- |-------------| -------------- | +| `process.runtime.jvm.system.cpu.load_1m` | Gauge | `{core}` | Average CPU load of the whole system for the last minute. |