semantic-conventions/docs/attributes-registry/go.md

1.6 KiB

Go

Go Attributes

This document defines Go related attributes.

Attribute Type Description Examples Stability
go.memory.type string The type of memory. other; stack Experimental

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
other Memory used by the Go runtime, excluding other categories of memory usage described in this enumeration. Experimental

[1]: Computed from /memory/classes/heap/stacks:bytes.