Skip to content

Commit

Permalink
fix the unit of metric.process.runtime.jvm.system.cpu.load_1m to be "…
Browse files Browse the repository at this point in the history
…{run_queue_item}"
  • Loading branch information
zeitlinger committed Jun 9, 2023
1 parent 1bcb71f commit db3b4b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: "{run_queue_length}"
unit: "{run_queue_item}"

- id: attributes.process.runtime.jvm.buffer
type: attribute_group
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ This metric is obtained from [`OperatingSystemMXBean#getSystemLoadAverage()`](ht
<!-- semconv metric.process.runtime.jvm.system.cpu.load_1m(metric_table) -->
| Name | Instrument Type | Unit (UCUM) | Description |
| -------- | --------------- | ----------- | -------------- |
| `process.runtime.jvm.system.cpu.load_1m` | Gauge | `{run_queue_length}` | Average CPU load of the whole system for the last minute. |
| `process.runtime.jvm.system.cpu.load_1m` | Gauge | `{run_queue_item}` | Average CPU load of the whole system for the last minute. |
<!-- endsemconv -->

<!-- semconv metric.process.runtime.jvm.system.cpu.load_1m(full) -->
Expand Down

0 comments on commit db3b4b8

Please sign in to comment.