|
|
|
|
@ -91,12 +91,12 @@ This metric is obtained from [`MemoryPoolMXBean#getUsage()`](https://docs.oracle
|
|
|
|
|
<!-- semconv metric.jvm.memory.usage(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `pool` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
| `jvm.memory.type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `jvm.memory.pool.name` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
|
|
|
|
|
|
|
|
|
|
`type` MUST be one of the following:
|
|
|
|
|
`jvm.memory.type` MUST be one of the following:
|
|
|
|
|
|
|
|
|
|
| Value | Description |
|
|
|
|
|
|---|---|
|
|
|
|
|
@ -118,12 +118,12 @@ This metric is obtained from [`MemoryPoolMXBean#getUsage()`](https://docs.oracle
|
|
|
|
|
<!-- semconv metric.jvm.memory.committed(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `pool` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
| `jvm.memory.type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `jvm.memory.pool.name` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
|
|
|
|
|
|
|
|
|
|
`type` MUST be one of the following:
|
|
|
|
|
`jvm.memory.type` MUST be one of the following:
|
|
|
|
|
|
|
|
|
|
| Value | Description |
|
|
|
|
|
|---|---|
|
|
|
|
|
@ -145,12 +145,12 @@ This metric is obtained from [`MemoryPoolMXBean#getUsage()`](https://docs.oracle
|
|
|
|
|
<!-- semconv metric.jvm.memory.limit(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `pool` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
| `jvm.memory.type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `jvm.memory.pool.name` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
|
|
|
|
|
|
|
|
|
|
`type` MUST be one of the following:
|
|
|
|
|
`jvm.memory.type` MUST be one of the following:
|
|
|
|
|
|
|
|
|
|
| Value | Description |
|
|
|
|
|
|---|---|
|
|
|
|
|
@ -172,12 +172,12 @@ This metric is obtained from [`MemoryPoolMXBean#getCollectionUsage()`](https://d
|
|
|
|
|
<!-- semconv metric.jvm.memory.usage_after_last_gc(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `pool` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
| `jvm.memory.type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `jvm.memory.pool.name` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
|
|
|
|
|
|
|
|
|
|
`type` MUST be one of the following:
|
|
|
|
|
`jvm.memory.type` MUST be one of the following:
|
|
|
|
|
|
|
|
|
|
| Value | Description |
|
|
|
|
|
|---|---|
|
|
|
|
|
@ -204,8 +204,8 @@ of `[]` (single bucket histogram capturing count, sum, min, max).
|
|
|
|
|
<!-- semconv metric.jvm.gc.duration(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `gc` | string | Name of the garbage collector. [1] | `G1 Young Generation`; `G1 Old Generation` | Recommended |
|
|
|
|
|
| `action` | string | Name of the garbage collector action. [2] | `end of minor GC`; `end of major GC` | Recommended |
|
|
|
|
|
| `jvm.gc.name` | string | Name of the garbage collector. [1] | `G1 Young Generation`; `G1 Old Generation` | Recommended |
|
|
|
|
|
| `jvm.gc.action` | string | Name of the garbage collector action. [2] | `end of minor GC`; `end of major GC` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()).
|
|
|
|
|
|
|
|
|
|
@ -228,7 +228,7 @@ Note that this is the number of platform threads (as opposed to virtual threads)
|
|
|
|
|
<!-- semconv metric.jvm.threads.count(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `daemon` | boolean | Whether the thread is daemon or not. | | Recommended |
|
|
|
|
|
| [`thread.daemon`](../general/attributes.md) | boolean | Whether the thread is daemon or not. | | Recommended |
|
|
|
|
|
<!-- endsemconv -->
|
|
|
|
|
|
|
|
|
|
### Metric: `jvm.classes.loaded`
|
|
|
|
|
@ -325,12 +325,12 @@ This metric is obtained from [`MemoryPoolMXBean#getUsage()`](https://docs.oracle
|
|
|
|
|
<!-- semconv metric.jvm.memory.init(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `pool` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
| `jvm.memory.type` | string | The type of memory. | `heap`; `non_heap` | Recommended |
|
|
|
|
|
| `jvm.memory.pool.name` | string | Name of the memory pool. [1] | `G1 Old Gen`; `G1 Eden space`; `G1 Survivor Space` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
|
|
|
|
|
|
|
|
|
|
`type` MUST be one of the following:
|
|
|
|
|
`jvm.memory.type` MUST be one of the following:
|
|
|
|
|
|
|
|
|
|
| Value | Description |
|
|
|
|
|
|---|---|
|
|
|
|
|
@ -385,7 +385,7 @@ This metric is obtained from [`BufferPoolMXBean#getMemoryUsed()`](https://docs.o
|
|
|
|
|
<!-- semconv metric.jvm.buffer.usage(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `pool` | string | Name of the buffer pool. [1] | `mapped`; `direct` | Recommended |
|
|
|
|
|
| `jvm.buffer.pool.name` | string | Name of the buffer pool. [1] | `mapped`; `direct` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()).
|
|
|
|
|
<!-- endsemconv -->
|
|
|
|
|
@ -404,7 +404,7 @@ This metric is obtained from [`BufferPoolMXBean#getTotalCapacity()`](https://doc
|
|
|
|
|
<!-- semconv metric.jvm.buffer.limit(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `pool` | string | Name of the buffer pool. [1] | `mapped`; `direct` | Recommended |
|
|
|
|
|
| `jvm.buffer.pool.name` | string | Name of the buffer pool. [1] | `mapped`; `direct` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()).
|
|
|
|
|
<!-- endsemconv -->
|
|
|
|
|
@ -423,7 +423,7 @@ This metric is obtained from [`BufferPoolMXBean#getCount()`](https://docs.oracle
|
|
|
|
|
<!-- semconv metric.jvm.buffer.count(full) -->
|
|
|
|
|
| Attribute | Type | Description | Examples | Requirement Level |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| `pool` | string | Name of the buffer pool. [1] | `mapped`; `direct` | Recommended |
|
|
|
|
|
| `jvm.buffer.pool.name` | string | Name of the buffer pool. [1] | `mapped`; `direct` | Recommended |
|
|
|
|
|
|
|
|
|
|
**[1]:** Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()).
|
|
|
|
|
<!-- endsemconv -->
|
|
|
|
|
|