-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add go attributes to the attributes registry
- Loading branch information
Showing
7 changed files
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ body: | |
- area:file | ||
- area:gcp | ||
- area:gen-ai | ||
- area:go | ||
- area:graphql | ||
- area:heroku | ||
- area:host | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ body: | |
- area:file | ||
- area:gcp | ||
- area:gen-ai | ||
- area:go | ||
- area:graphql | ||
- area:heroku | ||
- area:host | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ body: | |
- area:file | ||
- area:gcp | ||
- area:gen-ai | ||
- area:go | ||
- area:graphql | ||
- area:heroku | ||
- area:host | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!--- 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. | `stack`; `other` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
|
||
`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. | ![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) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
groups: | ||
- id: registry.go | ||
type: attribute_group | ||
prefix: go | ||
brief: > | ||
This document defines Go related attributes. | ||
attributes: | ||
- id: memory.type | ||
stability: experimental | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: stack | ||
value: 'stack' | ||
brief: 'Memory allocated from the heap that is reserved for stack space, whether or not it is currently in-use.' | ||
note: > | ||
Computed from `/memory/classes/heap/stacks:bytes`. | ||
stability: experimental | ||
- id: other | ||
value: 'other' | ||
brief: 'Memory used by the Go runtime, excluding other categories of memory usage.' | ||
stability: experimental | ||
requirement_level: recommended | ||
brief: The type of memory. | ||
examples: ["other", "stack"] |