]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc: add release note for runtime/metrics additions
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 24 May 2023 18:41:32 +0000 (18:41 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 24 May 2023 21:47:00 +0000 (21:47 +0000)
For #56857.

Change-Id: I03bdba906d271d97ce29874c50d5aba55dc285b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/498075
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
doc/go1.21.html

index ad84fa04a798e7aba0e46f3316bd1d58c7d2045f..4a771bc6f385b5f6d301e31840a5a115a20cd03a 100644 (file)
@@ -697,6 +697,18 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl><!-- runtime/trace -->
 
+<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
+  <dd>
+    <p><!-- https://go.dev/issue/56857 -->
+      A few previously-internal GC metrics, such as live heap size, are
+      now available.
+
+      <code>GOGC</code> and <code>GOMEMLIMIT</code> are also now
+      available as metrics.
+    </p>
+  </dd>
+</dl><!-- runtime/metrics -->
+
 <dl id="slices"><dt><a href="/pkg/slices/">slices</a></dt>
   <dd>
     <p><!-- https://go.dev/issue/54768 -->