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:21:39 +0000
commit5124371c1c7d6e2f5c8ebf821fdd07ea71d564c7 (patch)
treea0a4f6899d7dc0e1d3694a402b63bee7d827fb33 /src/runtime/metrics/doc.go
parent131267f1476d35c8daab4368aebd274b2f180fe4 (diff)
downloadgo-5124371c1c7d6e2f5c8ebf821fdd07ea71d564c7.tar.xz
runtime/metrics: add /gc/scan/total:bytes
For #56857 Change-Id: I10dbc5db506c95b7578c2b6baf051a351f68bb2a Reviewed-on: https://go-review.googlesource.com/c/go/+/497576 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Auto-Submit: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/metrics/doc.go')
-rw-r--r--src/runtime/metrics/doc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/metrics/doc.go b/src/runtime/metrics/doc.go
index 15fba2b5d4..44e2676ac5 100644
--- a/src/runtime/metrics/doc.go
+++ b/src/runtime/metrics/doc.go
@@ -225,6 +225,10 @@ Below is the full list of supported metrics, ordered lexicographically.
/gc/scan/stack:bytes
The number of bytes of stack that were scanned last GC cycle.
+ /gc/scan/total:bytes
+ The total amount space that is scannable. Sum of all metrics in
+ /gc/scan.
+
/gc/stack/starting-size:bytes
The stack size of new goroutines.