Skip to content

Commit 922a501

Browse files
committed
Allow JVM metrics to be synchronous
1 parent 2d2c555 commit 922a501

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
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+
([#2451](https://github.com/open-telemetry/opentelemetry-specification/pull/1978))
6971

7072
### Compatibility
7173

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

Lines changed: 10 additions & 10 deletions
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)