aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/metrics/doc.go
diff options
context:
space:
mode:
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>2023-05-23 12:35:48 +0200
committerGopher Robot <gobot@golang.org>2023-05-23 19:17:04 +0000
commit131267f1476d35c8daab4368aebd274b2f180fe4 (patch)
tree53abf93ed5b379caf453aa57d8e85f371627adc8 /src/runtime/metrics/doc.go
parenta63afe4720e5eb4fbb76baf38a41cbf60e739fd4 (diff)
downloadgo-131267f1476d35c8daab4368aebd274b2f180fe4.tar.xz
runtime/metrics: add /gc/scan/heap:bytes
For #56857 Change-Id: If3b962f575c33b2cc29f89e33c7aafb476d98ce9 Reviewed-on: https://go-review.googlesource.com/c/go/+/497575 Auto-Submit: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/metrics/doc.go')
-rw-r--r--src/runtime/metrics/doc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/metrics/doc.go b/src/runtime/metrics/doc.go
index 0392e76677..15fba2b5d4 100644
--- a/src/runtime/metrics/doc.go
+++ b/src/runtime/metrics/doc.go
@@ -219,6 +219,9 @@ Below is the full list of supported metrics, ordered lexicographically.
/gc/scan/globals:bytes
The total amount of global variable space that is scannable.
+ /gc/scan/heap:bytes
+ The total amount of heap space that is scannable.
+
/gc/scan/stack:bytes
The number of bytes of stack that were scanned last GC cycle.