**Update**, Jun 7 2023: runtime/metrics now exists, but there are a few metrics in the draft CL here that aren't yet exposed. See https://github.com/golang/go/issues/15490#issuecomment-1564615291. - - - MemStats provides a way to monitor allocation and garbage collection. We need a similar facility to monitor the Scheduler. Briefly: - Total goroutines create - Current number of of goroutines - Total number of goroutines scheduled - Current number of goroutines scheduled - Total thread starts - Current number of threads. - Metrics on the delay between a goroutine being ready and running on a proc.