From 773ee656f92c7f591f2fd9c38df82c264a15184d Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Fri, 21 Apr 2023 07:59:59 -0700 Subject: [PATCH] Fix JVM buffer pool attribute description (#3423) Follow-up to #3413 --------- Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com> --- .../metrics/process-runtime-jvm-metrics.yaml | 2 +- .../semantic_conventions/runtime-environment-metrics.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml b/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml index aab4f788bc9..19978463eaa 100644 --- a/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml +++ b/semantic_conventions/metrics/process-runtime-jvm-metrics.yaml @@ -154,7 +154,7 @@ groups: brief: "Describes JVM buffer metric attributes." attributes: - ref: pool - brief: Name of the memory pool. + brief: Name of the buffer pool. examples: [ "mapped", "direct" ] note: > Pool names are generally obtained via diff --git a/specification/metrics/semantic_conventions/runtime-environment-metrics.md b/specification/metrics/semantic_conventions/runtime-environment-metrics.md index e7d9d975d82..61dc41501b4 100644 --- a/specification/metrics/semantic_conventions/runtime-environment-metrics.md +++ b/specification/metrics/semantic_conventions/runtime-environment-metrics.md @@ -333,7 +333,7 @@ This metric is [recommended](../metric-requirement-level.md#recommended). | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `pool` | string | Name of the memory pool. [1] | `mapped`; `direct` | Recommended | +| `pool` | 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()). @@ -351,7 +351,7 @@ This metric is [recommended](../metric-requirement-level.md#recommended). | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `pool` | string | Name of the memory pool. [1] | `mapped`; `direct` | Recommended | +| `pool` | 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()). @@ -369,7 +369,7 @@ This metric is [recommended](../metric-requirement-level.md#recommended). | Attribute | Type | Description | Examples | Requirement Level | |---|---|---|---|---| -| `pool` | string | Name of the memory pool. [1] | `mapped`; `direct` | Recommended | +| `pool` | 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()).