@@ -638,16 +638,30 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
638
638
639
639
< dl id ="runtime/metrics "> < dt > < a href ="/pkg/runtime/metrics/ "> runtime/metrics</ a > </ dt >
640
640
< 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
+
641
659
< p > <!-- https://go.dev/issue/57071 -->
642
660
< code > /sync/mutex/wait/total:seconds</ code > now includes contention on
643
661
runtime-internal locks in addition to
644
662
< a href ="/pkg/sync#Mutex "> < code > sync.Mutex</ code > </ a > and
645
663
< a href ="/pkg/sync#RWMutex "> < code > sync.RWMutex</ code > </ a > .
646
664
</ 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 >
651
665
</ dd >
652
666
</ dl > <!-- runtime/metrics -->
653
667
0 commit comments