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:16:04 +0000
commita63afe4720e5eb4fbb76baf38a41cbf60e739fd4 (patch)
tree8d6dd025390d3e0fd2d31a242ebb479a611989fe /src/runtime/metrics/doc.go
parent8b51eb5199031f64f1de811deeab2979f59ad7dc (diff)
downloadgo-a63afe4720e5eb4fbb76baf38a41cbf60e739fd4.tar.xz
runtime/metrics: add /gc/scan/globals:bytes
For #56857 Change-Id: I748fd2a33ee76d9a83ea42f2ebf6d9edda243301 Reviewed-on: https://go-review.googlesource.com/c/go/+/497320 Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
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 7f21278450..0392e76677 100644
--- a/src/runtime/metrics/doc.go
+++ b/src/runtime/metrics/doc.go
@@ -216,6 +216,9 @@ Below is the full list of supported metrics, ordered lexicographically.
Distribution of individual GC-related stop-the-world pause
latencies. Bucket counts increase monotonically.
+ /gc/scan/globals:bytes
+ The total amount of global variable space that is scannable.
+
/gc/scan/stack:bytes
The number of bytes of stack that were scanned last GC cycle.