Skip to content

Commit 3b5f220

Browse files
committed
Allow JVM metrics to be synchronous
Signed-off-by: Fabian Stäber <[email protected]>
1 parent 57e5223 commit 3b5f220

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ release.
6666
([#2290](https://github.com/open-telemetry/opentelemetry-specification/pull/2290))
6767
- Add semantic conventions for [CloudEvents](https://cloudevents.io).
6868
([#1978](https://github.com/open-telemetry/opentelemetry-specification/pull/1978))
69+
- Allow JVM metrics to be synchronous
70+
([#2458](https://github.com/open-telemetry/opentelemetry-specification/pull/2458)
6971
- Add `process.cpu.utilization` metric.
7072
([#2436](https://github.com/open-telemetry/opentelemetry-specification/pull/2436))
7173

specification/metrics/semantic_conventions/runtime-environment-metrics.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ consider, for example pthreads vs green thread implementations.
5757

5858
All JVM metric attributes are required unless otherwise indicated.
5959

60-
| Name | Description | Unit | Unit ([UCUM](README.md#instrument-units)) | Instrument Type | Value Type | Attribute Key | Attribute Values |
61-
|--------------------------------------|-------------------------------------|-------|-------------------------------------------|----------------------------|------------|---------------|-----------------------|
62-
| process.runtime.jvm.memory.usage | Measure of memory used | Bytes | `By` | Asynchronous UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
63-
| | | | | | | pool | Name of pool [1] |
64-
| process.runtime.jvm.memory.init | Measure of initial memory requested | Bytes | `By` | Asynchronous UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
65-
| | | | | | | pool | Name of pool [1] |
66-
| process.runtime.jvm.memory.committed | Measure of memory committed | Bytes | `By` | Asynchronous UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
67-
| | | | | | | pool | Name of pool [1] |
68-
| process.runtime.jvm.memory.max | Measure of max obtainable memory | Bytes | `By` | Asynchronous UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
69-
| | | | | | | pool | Name of pool [1] |
60+
| Name | Description | Unit | Unit ([UCUM](README.md#instrument-units)) | Instrument Type | Value Type | Attribute Key | Attribute Values |
61+
|--------------------------------------|-------------------------------------|-------|-------------------------------------------|-----------------|------------|---------------|-----------------------|
62+
| process.runtime.jvm.memory.usage | Measure of memory used | Bytes | `By` | UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
63+
| | | | | | | pool | Name of pool [1] |
64+
| process.runtime.jvm.memory.init | Measure of initial memory requested | Bytes | `By` | UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
65+
| | | | | | | pool | Name of pool [1] |
66+
| process.runtime.jvm.memory.committed | Measure of memory committed | Bytes | `By` | UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
67+
| | | | | | | pool | Name of pool [1] |
68+
| process.runtime.jvm.memory.max | Measure of max obtainable memory | Bytes | `By` | UpDownCounter | Int64 | type | `"heap"`, `"nonheap"` |
69+
| | | | | | | pool | Name of pool [1] |
7070

7171
**[1]**: Pool names are generally obtained
7272
via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName())

0 commit comments

Comments
 (0)