mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime/metrics: add /gc/heap/live:bytes
For #56857 Change-Id: I0622af974783ab435e91b9fb3c1ba43f256ee4ac Reviewed-on: https://go-review.googlesource.com/c/go/+/497315 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Michael Knyszek <mknyszek@google.com> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
8366497625
commit
ef2bb813c8
4 changed files with 26 additions and 0 deletions
|
|
@ -245,6 +245,11 @@ var allDesc = []Description{
|
|||
Description: "Heap size target for the end of the GC cycle.",
|
||||
Kind: KindUint64,
|
||||
},
|
||||
{
|
||||
Name: "/gc/heap/live:bytes",
|
||||
Description: "Heap memory occupied by live objects that were marked by the previous GC.",
|
||||
Kind: KindUint64,
|
||||
},
|
||||
{
|
||||
Name: "/gc/heap/objects:objects",
|
||||
Description: "Number of objects, live or unswept, occupying heap memory.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue