From ae353e0e8b1c9beba74d13d182a073ed81f89a87 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Thu, 2 May 2024 18:10:07 +0000 Subject: [PATCH] fix after rebase --- docs/runtime/go-metrics.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/runtime/go-metrics.md b/docs/runtime/go-metrics.md index 1498d0beec..914f504d82 100644 --- a/docs/runtime/go-metrics.md +++ b/docs/runtime/go-metrics.md @@ -51,16 +51,14 @@ This metric is [recommended][MetricRecommended]. | Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |---|---|---|---|---|---| -| `go.memory.type` | string | The type of memory. | `other`; `stack` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`go.memory.type`](/docs/attributes-registry/go.md) | string | The type of memory. | `other`; `stack` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -`go.memory.type` MUST be one of the following: +`go.memory.type` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. | Value | Description | Stability | |---|---|---| -| `stack` | Memory allocated from the heap that is reserved for stack space, whether or not it is currently in-use. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `stack` | Memory allocated from the heap that is reserved for stack space, whether or not it is currently in-use. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `other` | Memory used by the Go runtime, excluding other categories of memory usage. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | - -**[1]:** Computed from `/memory/classes/heap/stacks:bytes`. ### Metric: `go.memory.released`