25 lines
1.6 KiB
Markdown
25 lines
1.6 KiB
Markdown
<!--- Hugo front matter used to generate the website version of this page:
|
|
--->
|
|
|
|
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
|
|
<!-- see templates/registry/markdown/attribute_namespace.md.j2 -->
|
|
|
|
# Go
|
|
|
|
## Go Attributes
|
|
|
|
This document defines Go related attributes.
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
| ---------------- | ------ | ------------------- | ---------------- | ---------------------------------------------------------------- |
|
|
| `go.memory.type` | string | The type of memory. | `other`; `stack` |  |
|
|
|
|
`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 |
|
|
| ------- | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
|
|
| `other` | Memory used by the Go runtime, excluding other categories of memory usage described in this enumeration. |  |
|
|
| `stack` | Memory allocated from the heap that is reserved for stack space, whether or not it is currently in-use. [1] |  |
|
|
|
|
**[1]:** Computed from `/memory/classes/heap/stacks:bytes`.
|