aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/metrics/doc.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2023-12-04 15:12:25 -0500
committerGopher Robot <gobot@golang.org>2023-12-06 17:59:12 +0000
commit3f2bf706f7f6c260cb83410131d3c2d508e05a94 (patch)
treecf706e72521dfe466310513e84a0c3b2334e5f87 /src/runtime/metrics/doc.go
parent98fd8f5768169c1c9cc9ae20490bd1b63ea55461 (diff)
downloadgo-3f2bf706f7f6c260cb83410131d3c2d508e05a94.tar.xz
runtime/metrics: document runtime-internal locks in /sync/mutex/wait/total:seconds
For #57071. Change-Id: I7ce6c35bed95a6ea3cdc17007f861c5dd82404d2 Reviewed-on: https://go-review.googlesource.com/c/go/+/547056 Auto-Submit: Michael Pratt <mpratt@google.com> Reviewed-by: Rhys Hiltner <rhys@justin.tv> Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/metrics/doc.go')
-rw-r--r--src/runtime/metrics/doc.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/metrics/doc.go b/src/runtime/metrics/doc.go
index 8df475666e..ba153174a6 100644
--- a/src/runtime/metrics/doc.go
+++ b/src/runtime/metrics/doc.go
@@ -447,10 +447,10 @@ Below is the full list of supported metrics, ordered lexicographically.
monotonically.
/sync/mutex/wait/total:seconds
- Approximate cumulative time goroutines have spent blocked
- on a sync.Mutex or sync.RWMutex. This metric is useful for
- identifying global changes in lock contention. Collect a mutex
- or block profile using the runtime/pprof package for more
- detailed contention data.
+ Approximate cumulative time goroutines have spent blocked on a
+ sync.Mutex, sync.RWMutex, or runtime-internal lock. This metric
+ is useful for identifying global changes in lock contention.
+ Collect a mutex or block profile using the runtime/pprof package
+ for more detailed contention data.
*/
package metrics