mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime/metrics: add /gc/gomemlimit:bytes
For #56857 Change-Id: I184d752cc615874ada3d0dbc6ed1bf72c8debd0f Reviewed-on: https://go-review.googlesource.com/c/go/+/497316 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
cb6b45a993
commit
2544b1051e
4 changed files with 26 additions and 0 deletions
|
|
@ -193,6 +193,13 @@ var allDesc = []Description{
|
|||
Kind: KindUint64,
|
||||
Cumulative: true,
|
||||
},
|
||||
{
|
||||
Name: "/gc/gomemlimit:bytes",
|
||||
Description: "Go runtime memory limit configured by the user, otherwise " +
|
||||
"math.MaxInt64. This value is set by the GOMEMLIMIT environment variable, and " +
|
||||
"the runtime/debug.SetMemoryLimit function.",
|
||||
Kind: KindUint64,
|
||||
},
|
||||
{
|
||||
Name: "/gc/heap/allocs-by-size:bytes",
|
||||
Description: "Distribution of heap allocations by approximate size. " +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue