Skip to content

Commit 6ee2719

Browse files
prattmicgopherbot
authored andcommitted
doc: add STW metrics to release notes
For #63340. For #61422. Change-Id: Ib74bb54b0450e96b7f4b7eb7ba2ae7ac2d40171a Reviewed-on: https://go-review.googlesource.com/c/go/+/547095 Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Michael Pratt <[email protected]> Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
1 parent ff9269e commit 6ee2719

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

doc/go1.22.html

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -638,16 +638,30 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
638638

639639
<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
640640
<dd>
641+
<p><!-- https://go.dev/issue/63340 -->
642+
Four new histogram metrics
643+
<code>/sched/pauses/stopping/gc:seconds</code>,
644+
<code>/sched/pauses/stopping/other:seconds</code>,
645+
<code>/sched/pauses/total/gc:seconds</code>, and
646+
<code>/sched/pauses/total/other:seconds</code> provide additional details
647+
about stop-the-world pauses.
648+
The "stopping" metrics report the time taken from deciding to stop the
649+
world until all goroutines are stopped.
650+
The "total" metrics report the time taken from deciding to stop the world
651+
until it is started again.
652+
</p>
653+
654+
<p><!-- https://go.dev/issue/63340 -->
655+
The <code>/gc/pauses:seconds</code> metric is deprecated, as it is
656+
equivalent to the new <code>/sched/pauses/total/gc:seconds</code> metric.
657+
</p>
658+
641659
<p><!-- https://go.dev/issue/57071 -->
642660
<code>/sync/mutex/wait/total:seconds</code> now includes contention on
643661
runtime-internal locks in addition to
644662
<a href="/pkg/sync#Mutex"><code>sync.Mutex</code></a> and
645663
<a href="/pkg/sync#RWMutex"><code>sync.RWMutex</code></a>.
646664
</p>
647-
648-
<p><!-- https://go.dev/issue/63340 -->
649-
TODO: <a href="https://go.dev/issue/63340">https://go.dev/issue/63340</a>: provide histogram of all STW events
650-
</p>
651665
</dd>
652666
</dl><!-- runtime/metrics -->
653667

0 commit comments

Comments
 (0)