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